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

test/Makefile should pick up JT_HOME environment variable

XMLWordPrintable

    • b29
    • generic
    • generic

        The JT_HOME can only be overridden by a make argument or JPRT_JTREG_HOME. Picking up the JT_HOME environment variable would be helpful.

        diff --git a/test/Makefile b/test/Makefile
        --- a/test/Makefile
        +++ b/test/Makefile
        @@ -162,7 +162,9 @@
         # jtreg tests
         
         # Expect JT_HOME to be set for jtreg tests. (home for jtreg)
        -JT_HOME = $(SLASH_JAVA)/re/jtreg/4.0/promoted/latest/binaries/jtreg
        +ifndef JT_HOME
        + JT_HOME = $(SLASH_JAVA)/re/jtreg/4.0/promoted/latest/binaries/jtreg
        +endif
         ifdef JPRT_JTREG_HOME
           JT_HOME = $(JPRT_JTREG_HOME)
         endif

        Maybe we should get rid of JPRT_JTREG_HOME and have JPRT use JT_HOME.

              twisti Christian Thalinger (Inactive)
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: