packages: php-pecl-dio/php-pecl-dio.spec - run tests
glen
glen at pld-linux.org
Wed Oct 5 18:58:33 CEST 2011
Author: glen Date: Wed Oct 5 16:58:33 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- run tests
---- Files affected:
packages/php-pecl-dio:
php-pecl-dio.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/php-pecl-dio/php-pecl-dio.spec
diff -u packages/php-pecl-dio/php-pecl-dio.spec:1.12 packages/php-pecl-dio/php-pecl-dio.spec:1.13
--- packages/php-pecl-dio/php-pecl-dio.spec:1.12 Sat Dec 11 22:37:17 2010
+++ packages/php-pecl-dio/php-pecl-dio.spec Wed Oct 5 18:58:28 2011
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # build without tests
+
%define modname dio
%define status beta
%define subver RC4
@@ -44,12 +48,20 @@
%prep
%setup -qc
mv %{modname}-%{version}*/* .
+# all files with 1970 timestamp
+find -newer php_dio_stream_wrappers.h -o -print | xargs touch --reference %{SOURCE0}
%build
phpize
%configure
%{__make}
+%if %{with tests}
+export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
+unset TZ LANG LC_ALL || :
+%{__make} test
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
@@ -84,6 +96,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2011/10/05 16:58:28 glen
+- run tests
+
Revision 1.12 2010/12/11 21:37:17 arekm
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-dio/php-pecl-dio.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list