commit e7368be26fccf40aadac166e07b3cdd63f297426 Author: Elan Ruusamäe <g...@delfi.ee> Date: Wed Nov 23 03:49:57 2016 +0200
run tests php-pecl-memcache.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) --- diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec index 06f542c..58a3a48 100644 --- a/php-pecl-memcache.spec +++ b/php-pecl-memcache.spec @@ -103,6 +103,18 @@ phpize -d extension=%{modname}.so \ -m > modules.log grep %{modname} modules.log + +cat <<'EOF' > run-tests.sh +#!/bin/sh +export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 +exec %{__make} test \ + PHP_EXECUTABLE=%{__php} \ + PHP_TEST_SHARED_SYSTEM_EXTENSIONS="session" \ + RUN_TESTS_SETTINGS="-q $*" +EOF +chmod +x run-tests.sh + +./run-tests.sh %endif %install ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-memcache.git/commitdiff/e7368be26fccf40aadac166e07b3cdd63f297426 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit