-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding ability to run multiple subsets of JCK tests at once #37
Comments
Per talk with Simon, each JCK test run will generate a .jtb file. If we defined multiple test targets in one run, the .jtb file will be overridden by other test settings, which may result in unexpected test failure due to mismatching test environment settings. A suggested solution is to create extra makefile targets for subdirectories. So if we want to use this method, I think one question is where these targets should be added to? a) Adding them to the main test_targets.mk file or create a new one and include it from the test_targets.mk? Also, if subsets of JCK tests are executed from makefile targets, I think there needs a mechanism to organize the whole test summary output. For example, if target Hi @lumpfish, I open this issue and moved our talk here to keep them under tracking. Could you kindly give some suggestions upon the question above? FYI @smlambert @pshipton |
Having all the separate results combined into one isn't a requirement. I suggest leaving it for a future enhancement. As long as we can easily see which subset failed, we can open the results for that subset to see the details. Although there are many failures now, in the future all the tests will be passing and should remain passing. We'll only be interested in the rare occurrences when something starts failing as the result of a merged change. |
Great, thanks for confirming Pete |
Fix missing underscore in with_items
For the convenience of executing JCK tests, there is a need to run arbitrary subsets of JCK tests (e.g.
api/java_lang
andapi/java_math/BigDecimal
).Based on the description in
openjdk.test.jck/include/test_targets.mk
, there is atest.jck.custom
target which can help developer to execute arbitrary subset of JCK tests. But it seems this target can only accept one test subset at once, if multiple subsets were provided, it will throw exception.For example:
cmd like this
make -k test.jck.custom JCKVERSION=jck9 JCKTESTSUITE=RUNTIME JCKTEST="api/java_lang"
will successfully generate the STF JCK test script and start running the api/java_lang JCK test.cmd like this
make -k test.jck.custom JCKVERSION=jck9 JCKTESTSUITE=RUNTIME JCKTEST="api/java_lang api/java_math/BigDecimal"
will failed the STF JCK test execution with error messageAlthough we can use a loop (in script) to run a list of subsets, the test summary outputs will be separated and hard to track which tests passed and which tests failed. I think we need the STF JCK test to be able to run multiple subsets of JCK test at once, as we want the final test summary to be combined together.
The text was updated successfully, but these errors were encountered: