SPECS: httpunit.spec - tests seems to be broken so disable it

pawelz pawelz at pld-linux.org
Fri Feb 27 19:17:26 CET 2009


Author: pawelz                       Date: Fri Feb 27 18:17:26 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tests seems to be broken so disable it

---- Files affected:
SPECS:
   httpunit.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/httpunit.spec
diff -u SPECS/httpunit.spec:1.11 SPECS/httpunit.spec:1.12
--- SPECS/httpunit.spec:1.11	Fri Feb 27 19:03:48 2009
+++ SPECS/httpunit.spec	Fri Feb 27 19:17:20 2009
@@ -6,6 +6,7 @@
 #
 # Conditional build:
 %bcond_with	jtidy		# jtidy vs nekohtml
+%bcond_with	tests		# perform tests (seems to be broken)
 #
 %include	/usr/lib/rpm/macros.java
 Summary:	Automated web site testing toolkit
@@ -114,8 +115,19 @@
 %{?without_jtidy:ln -s $(find-jar nekohtml) jars/nekohtml.jar}
 ln -s $(find-jar js) jars/js.jar
 
-%ant -Dbuild.compiler=extJavac -Dbuild.sysclasspath=last \
-  jar testjar examplesjar javadocs test servlettest
+%ant -Dbuild.compiler=extJavac \
+	-Dbuild.sysclasspath=last \
+	jar \
+	testjar \
+	examplesjar \
+	javadocs
+
+%if %{with tests}
+%ant -Dbuild.compiler=extJavac \
+	-Dbuild.sysclasspath=last \
+	test \
+	servlettest
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -173,6 +185,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/02/27 18:17:20  pawelz
+- tests seems to be broken so disable it
+
 Revision 1.11  2009/02/27 18:03:48  pawelz
 - inverted jtidy bcond (we prefer nekohtml)
 - BRs
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/httpunit.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list