8201263: Trailing backslash in VS120COMNTOOLS leads to ugly error message when running tests
Reviewed-by: erikj
--- a/test/TestCommon.gmk Mon Apr 09 09:45:51 2018 -0700
+++ b/test/TestCommon.gmk Mon Apr 09 10:19:33 2018 -0700
@@ -446,7 +446,7 @@
JTREG_BASIC_OPTIONS += -e:JDK8_HOME=${JT_JAVA}
# Give aot tests access to Visual Studio installation
ifneq ($(VS120COMNTOOLS), )
- JTREG_BASIC_OPTIONS += -e:VS120COMNTOOLS=$(shell $(GETMIXEDPATH) "$(VS120COMNTOOLS)")
+ JTREG_BASIC_OPTIONS += -e:VS120COMNTOOLS="$(shell $(GETMIXEDPATH) "$(patsubst %\,%,$(VS120COMNTOOLS))")"
endif
# Set other vm and test options
JTREG_TEST_OPTIONS += $(JAVA_ARGS:%=-javaoptions:%) $(JAVA_VM_ARGS:%=-vmoption:%)