8011678: test/Makefile should pick up JT_HOME environment variable

Reviewed-by: kvn
This commit is contained in:
Christian Thalinger 2013-04-12 15:43:07 -07:00
parent 01e43be718
commit 4ac4649aab

View File

@ -162,7 +162,9 @@ clean:
# 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