changeset 4506:393fd4ef89c4

8011678: test/Makefile should pick up JT_HOME environment variable Reviewed-by: kvn
author twisti
date Fri, 12 Apr 2013 15:43:07 -0700
parents b8b081e53312
children bc63dd2539a4
files test/Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Fri Apr 12 12:22:59 2013 -0700
+++ b/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