@@ -1296,6 +1296,10 @@ The text for an official release would continue like ...
12961296 <target name =" test" depends =" clean-test, javatest, launchertest, regrtest, modjytest"
12971297 description =" run all the tests" />
12981298
1299+ <target name =" test-built"
1300+ depends =" init, clean-test, javatest-built, launchertest-built, regrtest-built, modjytest-built"
1301+ description =" run all the tests against an existing built dist without rebuilding" />
1302+
12991303 <target name =" singlejavatest" depends =" compile-test, expose"
13001304 description =" run a single JUnit test (specify with -Dtest=classname)" >
13011305 <junit haltonfailure =" true" fork =" true" >
@@ -1341,7 +1345,13 @@ The text for an official release would continue like ...
13411345 description =" run all the JUnit tests" >
13421346 </target >
13431347
1344- <target name =" javatest-basepath" depends =" developer-build" >
1348+ <target name =" javatest-built" depends =" javatest-basepath-built, javatest-import-built"
1349+ description =" run all the JUnit tests against an existing built dist" >
1350+ </target >
1351+
1352+ <target name =" javatest-basepath" depends =" developer-build, javatest-basepath-built" />
1353+
1354+ <target name =" javatest-basepath-built" depends =" init" >
13451355 <mkdir dir =" ${ junit.reports } " />
13461356 <junit haltonfailure =" true" fork =" true" printsummary =" true" >
13471357 <formatter type =" xml" />
@@ -1361,8 +1371,11 @@ The text for an official release would continue like ...
13611371 </junit >
13621372 </target >
13631373
1364- <target name =" javatest-import" depends =" developer-build"
1374+ <target name =" javatest-import" depends =" developer-build, javatest-import-built "
13651375 description =" run all the JUnit tests that need tests/python in the path." >
1376+ </target >
1377+
1378+ <target name =" javatest-import-built" depends =" init" >
13661379 <mkdir dir =" ${ junit.reports } " />
13671380 <junit haltonfailure =" true" fork =" true" printsummary =" true" >
13681381 <formatter type =" xml" />
@@ -1444,14 +1457,18 @@ The text for an official release would continue like ...
14441457 </junit >
14451458 </target >
14461459
1447- <target name =" modjytest" depends =" developer-build" >
1460+ <target name =" modjytest" depends =" developer-build, modjytest-built" />
1461+
1462+ <target name =" modjytest-built" depends =" init" >
14481463 <ant dir =" tests/modjy" >
14491464 <property name =" jython_home" value =" ${ dist.dir } " />
14501465 <property name =" mockrunner_home" value =" ${ extlibs.dir } /mockrunner-0.4.1" />
14511466 </ant >
14521467 </target >
14531468
1454- <target name =" launchertest" depends =" developer-build" if =" os.family.unix" >
1469+ <target name =" launchertest" depends =" developer-build, launchertest-built" if =" os.family.unix" />
1470+
1471+ <target name =" launchertest-built" depends =" init" if =" os.family.unix" >
14551472 <exec executable =" ${ test.shell.dir } /test-jython.sh" failonerror =" true" >
14561473 <arg value =" ${ dist.dir } " />
14571474 </exec >
@@ -1476,9 +1493,12 @@ The text for an official release would continue like ...
14761493 </exec >
14771494 </target >
14781495
1479- <target name =" regrtest" depends =" developer-build, regrtest-unix, regrtest-windows "
1496+ <target name =" regrtest" depends =" developer-build, regrtest-built "
14801497 description =" run Python tests expected to work on Jython" />
14811498
1499+ <target name =" regrtest-built" depends =" init, regrtest-unix, regrtest-windows"
1500+ description =" run Python tests against an existing built dist" />
1501+
14821502 <target name =" regrtest-unix" if =" os.family.unix" >
14831503 <mkdir dir =" ${ junit.reports } " />
14841504 <exec executable =" ${ dist.dir } /bin/jython" failonerror =" true" >
0 commit comments