packages: php-pecl-runkit/php-pecl-runkit.spec - tests (all fail)

glen glen at pld-linux.org
Mon Jun 7 22:41:45 CEST 2010


Author: glen                         Date: Mon Jun  7 20:41:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- tests (all fail)

---- Files affected:
packages/php-pecl-runkit:
   php-pecl-runkit.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: packages/php-pecl-runkit/php-pecl-runkit.spec
diff -u packages/php-pecl-runkit/php-pecl-runkit.spec:1.22 packages/php-pecl-runkit/php-pecl-runkit.spec:1.23
--- packages/php-pecl-runkit/php-pecl-runkit.spec:1.22	Mon Jun  7 20:18:44 2010
+++ packages/php-pecl-runkit/php-pecl-runkit.spec	Mon Jun  7 22:41:40 2010
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+
 %define		modname	runkit
 %define		status	beta
 Summary:	%{modname} - mangle with user defined functions and classes
@@ -17,7 +21,7 @@
 Patch4:		php53-refcount.patch
 Patch5:		php53-sapi_headers.patch
 URL:		http://pecl.php.net/package/runkit/
-BuildRequires:	php-devel >= 4:5.2
+BuildRequires:	php-devel >= 4:5.3.2-5
 BuildRequires:	rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,6 +61,17 @@
 %configure
 %{__make}
 
+%if %{with tests}
+cat <<'EOF' > run-tests.sh
+#!/bin/sh
+%{__make} test \
+	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
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
@@ -90,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2010/06/07 20:41:40  glen
+- tests (all fail)
+
 Revision 1.22  2010/06/07 18:18:44  glen
 - more php53 warning/error fixes, compiles now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-runkit/php-pecl-runkit.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list