RFR: 7903883: --verify-exclude test existence and format checks are broken

Ludvig Janiuk lujaniuk at openjdk.org
Wed Nov 13 13:20:50 UTC 2024


The way this feature selected "the full set of tests" was actually getting "the set of tests to be run". But often, we run some subset through either specifying test files, folders, or groups. Our problemlist files will still have entries for other tests we were not running right now.

As a solution, --verify-exclude needs to compute the maximal set of tests that could be run for all test suites that any of the tests being run are a part of. I've implemented this by creating a dummy testmanager and passing no parameters to it.

Additionally, the regex for problemlist format had a typo.

-------------

Commit messages:
 - ws
 - ws
 - group invoke test
 - cleanup2
 - cleanup
 - CODETOOLS-7903883 --verify-exclude test existence and format checks are broken
 - failing test

Changes: https://git.openjdk.org/jtreg/pull/236/files
  Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=236&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903883
  Stats: 83 lines in 6 files changed: 71 ins; 1 del; 11 mod
  Patch: https://git.openjdk.org/jtreg/pull/236.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/236/head:pull/236

PR: https://git.openjdk.org/jtreg/pull/236


More information about the jtreg-dev mailing list