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.
This commit is contained in:
Joel Dice 2014-05-09 16:37:17 -06:00
parent 34f8cf50d1
commit 81958144a1

View File

@ -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)