From f46258539689dda0cf19ae55a71c11711bf6ca6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 8 May 2007 16:41:46 +0000 Subject: [PATCH] - ac-branch merge Changed files: php.spec -> 1.671 --- php.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/php.spec b/php.spec index 42b42d3..41af3d3 100644 --- a/php.spec +++ b/php.spec @@ -1820,6 +1820,13 @@ cp -af php_config.h.cgi main/php_config.h cp -af php_config.h.cli main/php_config.h %{__make} sapi/cli/php -f Makefile.cli LDFLAGS=-lpthread +%check +# Run tests, using the CLI SAPI +export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 +unset TZ LANG LC_ALL || : +%{__make} test +unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_ + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{php_sysconfdir}/{apache,cgi}} \ -- 2.44.0