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

Erik Joelsson erikj at openjdk.org
Thu Oct 19 19:56:01 UTC 2023


On Thu, 19 Oct 2023 17:08:20 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16274#pullrequestreview-1688537593


More information about the build-dev mailing list