[Pkg-php-commits] [php/debian-sid] Test that the list of extensions to test is never empty
Raphael Geissert
geissert at debian.org
Sat Mar 13 06:44:11 UTC 2010
---
debian/rules | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index bc35618..e788faa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -171,6 +171,7 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
test "$$ext" != "interbase.so" || continue; \
extensions="$$extensions -d extension=$$ext"; \
done; \
+ [ "$$extensions" ] || { echo "extensions list is empty"; exit 1; }; \
env NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/cgi/cgi-bin.php5 TEST_PHP_EXECUTABLE=$(CURDIR)/cli-build/sapi/cli/php $(CURDIR)/cli-build/sapi/cli/php run-tests.php -d extension_dir=$(CURDIR)/apache2-build/modules/ $$extensions| tee test-results.txt
rm -rf temp_session_store
@for test in `find . -name '*.log' -a '!' -name 'config.log'`; do \
--
1.6.3.3
More information about the Pkg-php-commits
mailing list