X-Git-Url: https://git.m6w6.name/?p=m6w6%2Ftravis-pecl;a=blobdiff_plain;f=Makefile;h=1dd2c87528c43780ac6d6e81335c4efa26496c2b;hp=8330ebc090ae9f6355e8f0f3584b6d164f514e2d;hb=f24680bd797a891102f9430f54d2f3c2f06d7513;hpb=63c2c573f9ef2893c223d2d1087c198598e85df3 diff --git a/Makefile b/Makefile index 8330ebc..1dd2c87 100644 --- a/Makefile +++ b/Makefile @@ -165,11 +165,13 @@ ext: pecl-check pecl $(makdir)/check-packagexml.php package.xml .PHONY: test +test: TESTS ?= tests test: php - REPORT_EXIT_STATUS=1 $(bindir)/php run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff tests + REPORT_EXIT_STATUS=1 $(bindir)/php run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff $(TESTS) .PHONY: pecl-test +pecl-test: TESTS ?= $(PECL_DIR)/tests pecl-test: php - REPORT_EXIT_STATUS=1 $(bindir)/php $(prefix)/lib/php/build/run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff $(PECL_DIR)/tests + REPORT_EXIT_STATUS=1 $(bindir)/php $(prefix)/lib/php/build/run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff $(TESTS) pharext/%: $(PECL_INI) php | $(srcdir)/../%.ext.phar for phar in $|; do $(bindir)/php $$phar --prefix=$(prefix) --ini=$(PECL_INI); done