--- a/langtools/test/Makefile Tue Mar 06 16:50:32 2012 +0000
+++ b/langtools/test/Makefile Tue Mar 06 20:27:12 2012 +0000
@@ -36,6 +36,14 @@
ARCH=i586
endif
endif
+ifeq ($(OSNAME), Darwin)
+ PLATFORM = bsd
+ JT_PLATFORM = linux
+ ARCH = $(shell uname -m)
+ ifeq ($(ARCH), i386)
+ ARCH=i586
+ endif
+endif
ifeq ($(OSNAME), Windows_NT)
# MKS
PLATFORM=windows
@@ -251,6 +259,7 @@
# JTREG_REFERENCE
# (Optional) reference results (e.g. work, report or summary.txt)
#
+jtreg_tests: jtreg-tests
jtreg-tests: check-jtreg FRC
@rm -f -r $(JTREG_OUTPUT_DIR)/JTwork $(JTREG_OUTPUT_DIR)/JTreport \
$(JTREG_OUTPUT_DIR)/diff.html $(JTREG_OUTPUT_DIR)/status.txt