]> git.pld-linux.org Git - packages/php.git/commitdiff
- update order for tests to be run with cli sapi config/makefile
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Mar 2010 10:07:41 +0000 (10:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.805.2.50

php.spec

index 6745d477a0f0e5ba90bd832055d5daae56f10150..69ebc266245569e44e46bf7293e7cfa2cc753d58 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2083,11 +2083,6 @@ rm -rf sapi/cgi/.libs sapi/cgi/*.lo
 %{__make} sapi/cgi/php-cgi -f Makefile.cgi
 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi ] || exit 1
 
-# CLI
-cp -af php_config.h.cli main/php_config.h
-%{__make} sapi/cli/php -f Makefile.cli
-[ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
-
 # FCGI
 %if %{with fcgi}
 cp -af php_config.h.fcgi main/php_config.h
@@ -2105,6 +2100,11 @@ cp -r sapi/cgi sapi/fpm
 [ "$(echo '<?=php_sapi_name();' | ./sapi/fpm/php-cgi -qn)" = cgi-fcgi ] || exit 1
 %endif
 
+# CLI
+cp -af php_config.h.cli main/php_config.h
+%{__make} sapi/cli/php -f Makefile.cli
+[ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
+
 # Generate stub .ini files for each extension
 rm -rf conf.d
 install -d conf.d
@@ -2137,6 +2137,8 @@ fi
 
 %if %{with tests}
 # Run tests, using the CLI SAPI
+cp -af php_config.h.cli main/php_config.h
+cp -af Makefile.cli Makefile
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 unset TZ LANG LC_ALL || :
 %{__make} test
This page took 0.052159 seconds and 4 git commands to generate.