Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187310

run-test: missing -nativepath option in the consolidated repo

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: