changeset 49559:05883543ee2a

8201263: Trailing backslash in VS120COMNTOOLS leads to ugly error message when running tests Reviewed-by: erikj
author mikael
date Mon, 09 Apr 2018 10:19:33 -0700
parents 0d4786e42471
children 58cffb6ec13c
files test/TestCommon.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:%)