commit 023d66442b231edb42f0197d0d2e1c915e2baa69 Author: Elan Ruusamäe <g...@delfi.ee> Date: Thu Jul 17 22:15:08 2014 +0300
php: another version of tests run php-pecl.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) --- diff --git a/php-pecl.spec b/php-pecl.spec index b20bba4..04bf0d0 100644 --- a/php-pecl.spec +++ b/php-pecl.spec @@ -45,6 +45,20 @@ grep %{modname} modules.log export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 %{__make} test \ PHP_EXECUTABLE=%{__php} + +# or: +cat <<'EOF' > run-tests.sh +#!/bin/sh +export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 +%{__make} test \ + PHP_EXECUTABLE=%{__php} \ + PHP_TEST_SHARED_SYSTEM_EXTENSIONS="spl pdo session" \ + RUN_TESTS_SETTINGS="-q $*" +EOF + +chmod +x run-tests.sh +./run-tests.sh -w failed.log +test -f failed.log -a ! -s failed.log %endif %install ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/023d66442b231edb42f0197d0d2e1c915e2baa69 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit