I am not sure if its my error, but I could have sworn this worked before.
I run a jtreg test; adding an XX switch as -vmoption to the command line causes the jtreg test to say "no tests selected", regardless of what particular XX switch I give it:
'''
jtreg '-vmoption:-XX:+UseNewCode' -J-Djavatest.maxOutputSize=2000000 -retain -automatic -conc:8 -jdk:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/jdk -nativepath:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/test/jdk/jtreg/native /shared/projects/openjdk/jdk-jdk/source/test/jdk/jdk/jfr/jvm/TestWaste.java
Test results: no tests selected
'''
- without the switch, it works
- with a non-XX option (e.g. '-vmoption:-Xmx2g'), it works
I am on Linux, Fedora.
I run a jtreg test; adding an XX switch as -vmoption to the command line causes the jtreg test to say "no tests selected", regardless of what particular XX switch I give it:
'''
jtreg '-vmoption:-XX:+UseNewCode' -J-Djavatest.maxOutputSize=2000000 -retain -automatic -conc:8 -jdk:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/jdk -nativepath:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/test/jdk/jtreg/native /shared/projects/openjdk/jdk-jdk/source/test/jdk/jdk/jfr/jvm/TestWaste.java
Test results: no tests selected
'''
- without the switch, it works
- with a non-XX option (e.g. '-vmoption:-Xmx2g'), it works
I am on Linux, Fedora.