include boot classpath in vm arguments on darwin, since we don't build those classes into the executable

This commit is contained in:
Joel Dice 2007-12-27 08:46:17 -07:00
parent 8e7f3b6821
commit a2181e88c0

View File

@ -209,7 +209,12 @@ test-dep = $(test-build)/dep
class-name = $(patsubst $(1)/%.class,%,$(2))
class-names = $(foreach x,$(2),$(call class-name,$(1),$(x)))
flags = -cp $(test-build)
ifeq ($(platform),darwin)
flags = -cp $(classpath-build):$(test-build)
else
flags = -cp $(test-build)
endif
args = $(flags) $(call class-name,$(test-build),$(input))
.PHONY: build