run jdk tests after langtools tests

Xerxes Rånby xerxes at zafena.se
Fri Jan 27 02:14:35 PST 2012


2011-12-23 15:57, Matthias Klose skrev:
> changeset cbceaa3d9fdf did change the order how the tests are run. This
> changeset was not discussed, and the change was not mentioned in the changelog.
> In an ideal world the order would not matter, but both the hotspot and langtools
> tests run reliable with most VMs, while the jdk tests may get stuck and leave
> processes hanging around. Running the jdk tests last you get at least the
> langtools test results for automated builds.
> 
>   Matthias
> 

2011-12-23  Matthias Klose  <doko at ubuntu.com>

	* Makefile.am (TEST_SUITES): Add jdk after langtools tests.


diff -r 5f30a4f16734 Makefile.am
--- a/Makefile.am	Fri Dec 23 14:31:49 2011 +0100
+++ b/Makefile.am	Fri Dec 23 15:46:02 2011 +0100
@@ -173,12 +173,12 @@
 if !DISABLE_HOTSPOT_TESTS
 TEST_SUITES = hotspot
 endif
+if !DISABLE_LANGTOOLS_TESTS
+TEST_SUITES := $(TEST_SUITES) langtools
+endif
 if !DISABLE_JDK_TESTS
 TEST_SUITES := $(TEST_SUITES) jdk
 endif
-if !DISABLE_LANGTOOLS_TESTS
-TEST_SUITES := $(TEST_SUITES) langtools
-endif
 endif

 # Target to ensure a patched OpenJDK tree containing Zero & Shark

Ok, agree the test order hotspot, langtools and then jdk is preferred.
This patch are good for icedtea6 head.

Cheers
Xerxes



More information about the distro-pkg-dev mailing list