add pecl-test target
authorMichael Wallner <mike@php.net>
Mon, 11 Nov 2019 12:15:48 +0000 (13:15 +0100)
committerMichael Wallner <mike@php.net>
Mon, 11 Nov 2019 12:15:48 +0000 (13:15 +0100)
Makefile

index d7d70cd3b459f53d4ce4c93780521b2e43da83a2..f2190b181951c19d8bd3a068a59cbe66b111f379 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,10 @@ ext: pecl-check pecl
 .PHONY: test
 test: php
        REPORT_EXIT_STATUS=1 $(bindir)/php run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff tests
-
+.PHONY: pecl-test
+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
+       
 pharext/%: $(PECL_INI) php | $(srcdir)/../%.ext.phar
        for phar in $|; do $(bindir)/php $$phar --prefix=$(prefix) --ini=$(PECL_INI); done