[8u] RFR: 8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
Alex Kashchenko
akashche at redhat.com
Mon Jul 6 10:53:28 UTC 2020
Hi,
Please review the backport of JDK-8185500 to 8u:
Bug: https://bugs.openjdk.java.net/browse/JDK-8185500
10 change: https://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/b762aafa34e3
8u webrev: https://cr.openjdk.java.net/~akasko/jdk8u/8185500/webrev.00
This change adds "headful" and "printer" keywords to a number of client
test, 129 tests are changed in jdk10, 63 of them are present in 8u.
Patch is altered for 8u leaving only the tests that are present, some
tests also have required changes to jtreg tags section and copyright
year. There are no changes to test code itself.
Testing: checked that modified tests can be selected correctly with
"headful" and "printer" keywords:
Before:
$ jtreg [...] -l @list.txt
Tests found: 63
After:
$ jtreg [...] -l -k:headful @list.txt
Tests found: 53
$ jtreg [...] -l -k:printer @list.txt
Tests found: 10
$ jtreg [...] -l -k:"(headful|printer)" @list.txt
Tests found: 63
Note, some tests include "os.family" requirement, so the numbers above
may differ.
--
-Alex
More information about the jdk8u-dev
mailing list