8004147: test/Makefile jtreg_tests target does not work with cygwin
authormgerdin
Tue, 22 Jan 2013 13:42:39 +0100
changeset 15239 154bc4bda370
parent 15238 2a5f251cc9ad
child 15240 4aea0ffdd4ce
child 15428 edc310e78c68
8004147: test/Makefile jtreg_tests target does not work with cygwin Reviewed-by: ctornqvi, brutisso
hotspot/test/Makefile
--- a/hotspot/test/Makefile	Wed Jan 16 12:46:27 2013 +0100
+++ b/hotspot/test/Makefile	Tue Jan 22 13:42:39 2013 +0100
@@ -189,9 +189,9 @@
 	$(JTREG) -a -v:fail,error               \
           $(JTREG_KEY_OPTION)                   \
           $(EXTRA_JTREG_OPTIONS)                \
-          -r:$(ABS_TEST_OUTPUT_DIR)/JTreport    \
-          -w:$(ABS_TEST_OUTPUT_DIR)/JTwork      \
-          -jdk:$(PRODUCT_HOME)                  \
+          -r:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTreport    \
+          -w:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTwork      \
+          -jdk:$(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)")                  \
           $(JAVA_OPTIONS:%=-vmoption:%)         \
           $(JTREG_TESTDIRS)                     \
 	  || $(BUNDLE_UP_FAILED)