From 81958144a14e8885daa8547074ecd8456ba7cb76 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 9 May 2014 16:37:17 -0600 Subject: [PATCH] fix test-flags definition for Windows We need to quote a classpath with a Windows path separator (';') so it isn't interpreted by the shell. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index a551bb6cdb..12807a5a7f 100755 --- a/makefile +++ b/makefile @@ -1431,7 +1431,7 @@ class-name = $(patsubst $(1)/%.class,%,$(2)) class-names = $(foreach x,$(2),$(call class-name,$(1),$(x))) test-flags = -Djava.library.path=$(build) \ - -cp $(build)/test$(target-path-separator)$(build)/extra-dir + -cp '$(build)/test$(target-path-separator)$(build)/extra-dir' test-args = $(test-flags) $(input)