PS Discussion of the next iteration of tiered testing:
http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-June/002325.html
Thanks,
-Joe
On 6/24/2015 4:42 PM, joe darcy wrote:
Hello,
To support the next iteration of tiered testing in JDK 9, with an eye
toward running client library tests, please review the patch below
which addresses
JDK-8129822: Define "headful" jtreg keyword
Some test environments are headless, including test environments often
used for the tier 1 and tier 2 tests. The jdk_desktop test group is
defined as follows:
jdk_desktop = \
:jdk_awt \
:jdk_2d \
:jdk_beans \
:jdk_swing \
:jdk_sound \
:jdk_imageio
Of those constituent test groups, nearly all of the tests in
jdk_beans, jdk_sound, and jdk_imageio can be successfully run in a
*headless* environment. Therefore, I'd like to be able to tag the
handful of tests that need a head with "@key headful" so they can be
excluded from test runs in a headless environment.
Future changesets will add the keyword to the appropriate tests.
Thanks,
-Joe
diff -r db09207cc779 test/TEST.ROOT
--- a/test/TEST.ROOT Wed Jun 24 15:15:10 2015 -0700
+++ b/test/TEST.ROOT Wed Jun 24 16:33:09 2015 -0700
@@ -8,8 +8,11 @@
# would not count as "randomness" by this definition.) Extra care
# should be taken to handle test failures of intermittent or
# randomness tests.
+#
+# A "headful" test requires a graphical environment to meaningfully
+# run. Tests that are not headful are "headless."
-keys=2d dnd i18n intermittent randomness
+keys=2d dnd i18n intermittent randomness headful
# Tests that must run in othervm mode
othervm.dirs=java/awt java/beans javax/accessibility javax/imageio
javax/sound javax/print javax/management com/sun/awt sun/awt
sun/java2d sun/pisces javax/xml/jaxp/testng/validation
java/lang/ProcessHandle