File: rules

package info (click to toggle)
php-db 1.11.0-0.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,036 kB
  • sloc: php: 6,949; pascal: 999; xml: 192; sh: 22; makefile: 11
file content (13 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	cd DB-* && \
		for i in tests/db_[fip]* ; \
		do phpunit $$i ; \
		done
else
	@echo "** tests disabled"
endif