RFR: 8318540: make test cannot run .jasm tests directly

Aleksey Shipilev shade at openjdk.org
Thu Oct 19 18:24:41 UTC 2023


Simple fix to allow running `.jasm` tests directly, like we can do now with `.java` and `.sh` tests.

Before the fix:


% make images test TEST=runtime/clone/LocalClone.jasm
Test selection 'runtime/clone/LocalClone.jasm', will run:
* jtreg:test/hotspot/jtreg/runtime/clone/LocalClone.jasm.jasm

Running test 'jtreg:test/hotspot/jtreg/runtime/clone/LocalClone.jasm.jasm'
Error: Cannot find file: test/hotspot/jtreg/runtime/clone/LocalClone.jasm.jasm


After the fix:


$ make images test TEST=runtime/clone/LocalClone.jasm
Test selection 'runtime/clone/LocalClone.jasm', will run:
* jtreg:test/hotspot/jtreg/runtime/clone/LocalClone.jasm

Running test 'jtreg:test/hotspot/jtreg/runtime/clone/LocalClone.jasm'
Passed: runtime/clone/LocalClone.jasm
Test results: passed: 1

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/16274/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16274&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318540
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16274.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16274/head:pull/16274

PR: https://git.openjdk.org/jdk/pull/16274


More information about the build-dev mailing list