RFR(S): 7902351: jtreg evaluates ProblemList with properties of VM running jtreg

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed Dec 5 08:02:12 UTC 2018


Hi,

When evaluating the ProblemList specified with -exclude, jtreg compares the platform specifiers as windows-i586 with the properties of the VM running the jtreg harness. It does not use the properties of the VM specified by -testvm which is the VM to be tested.

Our testrunner is a 64-bit VM, that also tests 32-bit variants. Thus, if we want to exclude a test for the 32-bit VM by specifying windows-i586, it is not excluded. Instead, the ProbelmList is scanned for windows-amd64 excludes.

Basic functionality to ask the testvm for its properties is already implemented and just needs to be used in the proper place.

This change also fixes a copy-and-paste error in OS.java.

Please review. I please need a sponsor.
https://bugs.openjdk.java.net/browse/CODETOOLS-7902351
http://cr.openjdk.java.net/~goetz/wr18/7902351-ProblemList-jtreg/01/

Best regards,
  Goetz.


More information about the jtreg-dev mailing list