8011678: test/Makefile should pick up JT_HOME environment variable
authortwisti
Fri, 12 Apr 2013 15:43:07 -0700
changeset 17005 f7ab7c9c3784
parent 17004 4d2371d76a19
child 17007 8c5e4da3ed2f
8011678: test/Makefile should pick up JT_HOME environment variable Reviewed-by: kvn
hotspot/test/Makefile
--- a/hotspot/test/Makefile	Fri Apr 12 12:22:59 2013 -0700
+++ b/hotspot/test/Makefile	Fri Apr 12 15:43:07 2013 -0700
@@ -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