In message <4bc86f62.4080...@googlemail.com>, Oliver Deakin writes: > > Hi Mark, > > It looks like this commit has broken the build - it's failing in crypto > at the moment. Looks like the new test-module target tags are not closed > before the start of the -test-module target: > > +<target name="test-module" > + depends="-test-module,-test-module-impl"> > +<target name="-test-module" depends="test-jre-vm-info">
I am thought I'd fixed this in the workspace I used for this commit. Obviously not. Fixed in r934903. Sorry, -Mark. > On 16/04/2010 11:34, hinde...@apache.org wrote: > > Author: hindessm > > Date: Fri Apr 16 10:34:11 2010 > > New Revision: 934733 > > > > URL: http://svn.apache.org/viewvc?rev=934733&view=rev > > Log: > > Attempt to add property to turn off implementation tests so that API tests > > may be executed on other JREs. > > > > Modified: > > harmony/enhanced/java/trunk/classlib/make/properties.xml > > harmony/enhanced/java/trunk/classlib/modules/crypto/make/run-test.xml > > harmony/enhanced/java/trunk/classlib/modules/lang-management/make/run- > test.xml > > harmony/enhanced/java/trunk/classlib/modules/luni/make/run-test.xml > > harmony/enhanced/java/trunk/classlib/modules/security/make/run-test.xm > l > > harmony/enhanced/java/trunk/classlib/modules/x-net/make/run-test.xml > > > > Modified: harmony/enhanced/java/trunk/classlib/make/properties.xml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/make > /properties.xml?rev=934733&r1=934732&r2=934733&view=diff > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/make/properties.xml (original) > > +++ harmony/enhanced/java/trunk/classlib/make/properties.xml Fri Apr 16 10: > 34:11 2010 > > @@ -64,6 +64,7 @@ > > <property name="hy.test.forkmode" value="once" /> > > <property name="hy.test.timeout" value="900000" /> > > <property name="hy.test.vmargs" value="" /> > > +<property name="hy.test.impl" value="true" /> > > > > <!-- Conditions for operating systems --> > > <condition property="is.windows"> > > > > Modified: harmony/enhanced/java/trunk/classlib/modules/crypto/make/run-test > .xml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modu > les/crypto/make/run-test.xml?rev=934733&r1=934732&r2=934733&view=diff > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/modules/crypto/make/run-test.xml ( > original) > > +++ harmony/enhanced/java/trunk/classlib/modules/crypto/make/run-test.xml F > ri Apr 16 10:34:11 2010 > > @@ -31,7 +31,9 @@ > > > > <target name="test" depends="test-module" /> > > > > -<target name="test-module" depends="test-jre-vm-info"> > > +<target name="test-module" > > + depends="-test-module,-test-module-impl"> > > +<target name="-test-module" depends="test-jre-vm-info"> > > <convert-test-as-class from="test.case" to="converted.tc.class" / > > > > <run-hdk-tests module="crypto" jar="crypto_api_tests.jar"> > > <junit-elements> > > @@ -49,6 +51,9 @@ > > </classpath> > > </junit-elements> > > </run-hdk-tests> > > +</target> > > + > > +<target name="-test-module-impl" if="hy.test.impl"> > > <run-hdk-tests module="crypto" jar="crypto_impl_tests.jar"> > > <junit-elements> > > <classpath> > > > > Modified: harmony/enhanced/java/trunk/classlib/modules/lang-management/make > /run-test.xml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modu > les/lang-management/make/run-test.xml?rev=934733&r1=934732&r2=934733&view=dif > f > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/modules/lang-management/make/run-t > est.xml (original) > > +++ harmony/enhanced/java/trunk/classlib/modules/lang-management/make/run-t > est.xml Fri Apr 16 10:34:11 2010 > > @@ -31,10 +31,15 @@ > > > > <target name="test" depends="test-module" /> > > > > -<target name="test-module" depends="test-jre-vm-info"> > > +<target name="test-module" > > + depends="-test-module,-test-module-impl"> > > +<target name="-test-module" depends="test-jre-vm-info"> > > <convert-test-as-class from="test.case" to="converted.tc.class" / > > > > <run-hdk-tests module="lang-management" > > jar="lang-management_tests.jar" /> > > +</target> > > + > > +<target name="-test-module-impl" if="hy.test.impl"> > > <run-hdk-tests module="lang-management" > > jar="lang-management_impl_tests.jar" /> > > </target> > > > > Modified: harmony/enhanced/java/trunk/classlib/modules/luni/make/run-test.x > ml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modu > les/luni/make/run-test.xml?rev=934733&r1=934732&r2=934733&view=diff > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/modules/luni/make/run-test.xml (or > iginal) > > +++ harmony/enhanced/java/trunk/classlib/modules/luni/make/run-test.xml Fri > Apr 16 10:34:11 2010 > > @@ -31,7 +31,9 @@ > > > > <target name="test" depends="test-module" /> > > > > -<target name="test-module" depends="test-jre-vm-info"> > > +<target name="test-module" > > + depends="-test-module,-test-module-impl"> > > +<target name="-test-module" depends="test-jre-vm-info"> > > <convert-test-as-class from="test.case" to="converted.tc.class" / > > > > <run-hdk-tests module="luni" jar="luni_tests_api.jar"> > > <excludeorinclude> > > @@ -44,8 +46,10 @@ > > <!-- Required for running the java.net unit tests --> > > <jvmarg value="-Dtest.ini.file=resources/config/localhost > test.ini" /> > > </junit-elements> > > -</run-hdk-tests> > > +</run-hdk-tests> > > +</target> > > > > +<target name="-test-module-impl" if="hy.test.impl"> > > <run-hdk-tests module="luni" jar="luni_tests_impl.jar"> > > <junit-elements> > > <!-- Required by various tests that set security manager > etc --> > > > > Modified: harmony/enhanced/java/trunk/classlib/modules/security/make/run-te > st.xml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modu > les/security/make/run-test.xml?rev=934733&r1=934732&r2=934733&view=diff > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/modules/security/make/run-test.xml > (original) > > +++ harmony/enhanced/java/trunk/classlib/modules/security/make/run-test.xml > Fri Apr 16 10:34:11 2010 > > @@ -31,7 +31,9 @@ > > > > <target name="test" depends="test-module" /> > > > > -<target name="test-module" depends="test-jre-vm-info"> > > +<target name="test-module" > > + depends="-test-module,-test-module-impl"> > > +<target name="-test-module" depends="test-jre-vm-info"> > > <convert-test-as-class from="test.case" to="converted.tc.class" / > > > > <run-hdk-tests module="security" jar="security_tests_api.jar"> > > <junit-elements> > > @@ -45,6 +47,9 @@ > > <jvmarg value="-Xbootclasspath/a:security_tests_api_in.ja > r${path.separator}../junit.jar${path.separator}../support.jar${path.separator > }security_tests_support.jar"/> > > </junit-elements> > > </run-hdk-tests> > > +</target> > > + > > +<target name="-test-module-impl" if="hy.test.impl"> > > <run-hdk-tests module="security" jar="security_tests_impl.jar"> > > <junit-elements> > > <classpath> > > > > Modified: harmony/enhanced/java/trunk/classlib/modules/x-net/make/run-test. > xml > > URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modu > les/x-net/make/run-test.xml?rev=934733&r1=934732&r2=934733&view=diff > > =========================================================================== > === > > --- harmony/enhanced/java/trunk/classlib/modules/x-net/make/run-test.xml (o > riginal) > > +++ harmony/enhanced/java/trunk/classlib/modules/x-net/make/run-test.xml Fr > i Apr 16 10:34:11 2010 > > @@ -31,7 +31,9 @@ > > > > <target name="test" depends="test-module" /> > > > > -<target name="test-module" depends="test-jre-vm-info"> > > +<target name="test-module" > > + depends="-test-module,-test-module-impl"> > > +<target name="-test-module" depends="test-jre-vm-info"> > > <convert-test-as-class from="test.case" to="converted.tc.class" / > > > > <run-hdk-tests module="x-net" jar="x-net_api_tests.jar"> > > <junit-elements> > > @@ -41,6 +43,9 @@ > > </classpath> > > </junit-elements> > > </run-hdk-tests> > > +</target> > > + > > +<target name="-test-module-impl" if="hy.test.impl"> > > <run-hdk-tests module="x-net" jar="x-net_impl_tests.jar"> > > <junit-elements> > > <classpath> > > > > > > > > > > -- > Oliver Deakin > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number 7415 > 98. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU >