RFR: CODETOOLS-7903037: Allow Subtest ids with dashes and underscores

Thomas Stuefe stuefe at openjdk.java.net
Fri Oct 29 15:12:43 UTC 2021


At the moment the jtreg launcher does not accept subtest ids that contain dashes or underscores. For example:


thomas at starfish:jtreg ... source/test/hotspot/jtreg/runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java#debug-none
Error: Not a test or directory containing tests: runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java#debug-none


Patch fixes this:


thomas at starfish:jtreg ... source/test/hotspot/jtreg/runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java#debug-none
Test results: passed: 1

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

Commit messages:
 - fix regex patterns

Changes: https://git.openjdk.java.net/jtreg/pull/30/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jtreg&pr=30&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7903037
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jtreg/pull/30.diff
  Fetch: git fetch https://git.openjdk.java.net/jtreg pull/30/head:pull/30

PR: https://git.openjdk.java.net/jtreg/pull/30


More information about the jtreg-dev mailing list