gtest test targets fail with "Unknown test selection: 'gtest'" on jdk15-17
Abigail G
dev at kb6.ee
Sun Jan 16 05:12:46 UTC 2022
Hello,
I am attempting to run tests for openjdk15 to 17 using the make target
test-hotspot-gtest, but after compiling the test files, it fails with
this message:
Unknown test selection: 'gtest'
See doc/testing.[md|html] for help
RunTests.gmk:541: *** Cannot continue. Stop.
make[2]: *** [make/Main.gmk:601: exploded-test-gtest] Error 2
ERROR: Build failed for target 'test-hotspot-gtest' in configuration
'linux-x86_64-server-release' (exit code 2)
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
make[1]: *** [/builddir/jdk15u-jdk-15.0.3+3/make/Init.gmk:315: main]
Error 2
make: *** [/builddir/jdk15u-jdk-15.0.3+3/make/Init.gmk:186: test-
hotspot-gtest] Error 2
I have been able to successfully compile and run the tests for
openjdk12 to 14 with the same test target, and, looking at the
makefiles, it appears there has been no change in the relevant code
between jdk14 and 15. What could be the issue here?
Thanks in advance,
Abigail G
More information about the build-dev
mailing list