adoptium / STF

The System Test Framework for executing https://github.com/adoptium/aqa-systemtest
Apache License 2.0
8 stars 35 forks source link

Pass javahome-execute in as an argument #119

Closed smlambert closed 3 years ago

smlambert commented 3 years ago

In order to be able to utilize systemtest material for JRE testing, being able to pass in javahome-execution on the commandline (changing it from default JAVA_HOME setting) will be useful.

We can not set JAVA_HOME to JRE_HOME as a whole, since javac is needed to compile test material.

Currently if you try to pass it in (see https://github.com/smlambert/openjdk-tests/tree/enablePreview), it produces this output:

19:51:34  GEN 23:51:34.692 - ** ERROR **  Unknown test specific argument: '[javahome-execute]'. Allowed arguments are: [tests, jckversion, testsuite, config=[NULL], executiontype=[multijvm], withagent=[off], interactive=[no], jckRoot=[NULL], concurrency=[NULL]]
19:51:34  Generation failed
smlambert commented 3 years ago

Will close this for now, pursuing other avenues.