JDK-7132204 : Default testset in JPRT should not run all tests
  • Type: Enhancement
  • Component: core-libs
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-01-21
  • Updated: 2014-03-03
  • Resolved: 2012-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4Fixed 8 b25Fixed
Description
The default testset for control and jdk jobs includes following targets:

  65 jprt.make.rule.default.test.targets=                            \
  66     ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
  67     ${jprt.my.test.target.set:TESTNAME=jdk_beans1},             \
  68     ${jprt.my.test.target.set:TESTNAME=jdk_io},                 \
  69     ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
  70     ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
  71     ${jprt.my.test.target.set:TESTNAME=jdk_misc},               \
  72     ${jprt.my.test.target.set:TESTNAME=jdk_net},                \
  73     ${jprt.my.test.target.set:TESTNAME=jdk_nio1},               \
  74     ${jprt.my.test.target.set:TESTNAME=jdk_nio2},               \
  75     ${jprt.my.test.target.set:TESTNAME=jdk_nio3},               \
  76     ${jprt.my.test.target.set:TESTNAME=jdk_security1},          \
  77     ${jprt.my.test.target.set:TESTNAME=jdk_text},               \
  78     ${jprt.my.test.target.set:TESTNAME=jdk_util}

This is way too many to keep stable for everyone using JPRT. We should change the default to be:

  64 # Default jdk test targets (testset=default)
  65 jprt.make.rule.default.test.targets=                            \
  66     ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
  67     ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
  68     ${jprt.my.test.target.set:TESTNAME=jdk_math}

and introduce a new "core" testset for folks that want to run all tests except the client area.

Comments
EVALUATION Default testset changed to be langtools, jdk_lang and jdk_math only. A new testset (called "core") has been added that runs all tests except for the AWT/Swing/client tests.
24-01-2012