-
Bug
-
Resolution: Fixed
-
P3
-
None
-
10
-
None
run-test from the consolidated repo (http://hg.openjdk.java.net/jdk10/consol-proto) fails to run test with native libs, the jtreg option -nativepath is missing.
See example:
$ cd consol-proto; make run-test TEST="jtreg:test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java"
...
Running test 'jtreg:test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java'
--------------------------------------------------
TEST: java/lang/String/nativeEncoding/StringPlatformChars.java
TEST JDK: /Users/admin/OpenJDK/consol-proto/build/macosx-x86_64-normal-server-release/images/jdk
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.001 seconds
messages:
command: build StringPlatformChars
reason: Named class compiled on demand
elapsed time (seconds): 0.001
TEST RESULT: Error. Use -nativepath to specify the location of native code
--------------------------------------------------
Test results: error: 1
With make -n run-test, I can see the real jtreg options used in the run, and there's no "-nativepath" option.
See example:
$ cd consol-proto; make run-test TEST="jtreg:test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java"
...
Running test 'jtreg:test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java'
--------------------------------------------------
TEST: java/lang/String/nativeEncoding/StringPlatformChars.java
TEST JDK: /Users/admin/OpenJDK/consol-proto/build/macosx-x86_64-normal-server-release/images/jdk
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.001 seconds
messages:
command: build StringPlatformChars
reason: Named class compiled on demand
elapsed time (seconds): 0.001
TEST RESULT: Error. Use -nativepath to specify the location of native code
--------------------------------------------------
Test results: error: 1
With make -n run-test, I can see the real jtreg options used in the run, and there's no "-nativepath" option.
- relates to
-
JDK-8165187 Preparation: Update jtreg configuration files
-
- Resolved
-