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

Thomas Stuefe stuefe at openjdk.java.net
Sat Oct 30 07:05:50 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

Thomas Stuefe has updated the pull request incrementally with two additional commits since the last revision:

 - revert accidental code
 - Use the same expression as in RegressionTestFinder

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

Changes:
  - all: https://git.openjdk.java.net/jtreg/pull/30/files
  - new: https://git.openjdk.java.net/jtreg/pull/30/files/7b203974..375b3b20

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jtreg&pr=30&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jtreg&pr=30&range=01-02

  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