Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900892

Add -nativepath flag

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • jtreg4.1
    • tools
    • None
    • b10

    Description

      I would like to see the addition of a flag to specify the path of the test binaries. Iā€™m thinking something like ā€œ-natives:<path>ā€. This would do two things:

      - Set the java.library.path when invoking tests. This is needed for System.loadLibrary() to work.
      - Set a test.natives property. This is needed in the cases where the test binary is not a library, but a program. In this case the test will want to launch that program and needs the path to the program.

      Both of these would be set to <path> above. Jtreg should check that the path exists.

      See this email thread for a discussion: http://mail.openjdk.java.net/pipermail/jtreg-dev/2014-April/000107.html

      Attachments

        Issue Links

          Activity

            People

              sla Staffan Larsen (Inactive)
              sla Staffan Larsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: