packages: php-xhp/php-xhp.spec - tests BR: /usr/bin/php, php-pcre - failed....

sparky sparky at pld-linux.org
Sat Jan 22 15:41:47 CET 2011


Author: sparky                       Date: Sat Jan 22 14:41:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- tests BR: /usr/bin/php, php-pcre
- failed.log should be empty -- inverted test condition

---- Files affected:
packages/php-xhp:
   php-xhp.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/php-xhp/php-xhp.spec
diff -u packages/php-xhp/php-xhp.spec:1.14 packages/php-xhp/php-xhp.spec:1.15
--- packages/php-xhp/php-xhp.spec:1.14	Sun Dec 12 13:10:59 2010
+++ packages/php-xhp/php-xhp.spec	Sat Jan 22 15:41:42 2011
@@ -21,11 +21,13 @@
 # Source0-md5:	38cab2551dc3a4e1bc5a68d2be39e64a
 URL:		http://github.com/facebook/xhp/wiki
 Patch0:		optflags.patch
+%{?with_tests:BuildRequires:	/usr/bin/php}
 # if you use git checkout:
 #BuildRequires:	bison >= 2.3
 #BuildRequires:	flex >= 2.5.35
 BuildRequires:	libstdc++-devel >= 5:4.0
 BuildRequires:	php-devel >= 3:5.2.0
+%{?with_tests:BuildRequires:	php-pcre}
 BuildRequires:	re2c >= 0.13.5
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.519
@@ -84,7 +86,7 @@
 EOF
 chmod +x run-tests.sh
 ./run-tests.sh -w failed.log -s test.log
-test -s failed.log
+! test -s failed.log
 %endif
 
 %install
@@ -132,6 +134,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2011/01/22 14:41:42  sparky
+- tests BR: /usr/bin/php, php-pcre
+- failed.log should be empty -- inverted test condition
+
 Revision 1.14  2010/12/12 12:10:59  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-xhp/php-xhp.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list