Makefile revision 396
#
# Makefile to run jtreg and any other tests
#
else
else
else
# Root of this test area (important to use full paths in some places)
# Default bundle of all test results (passed or not)
SLASH_JAVA = J:
else
SLASH_JAVA = /java
# Default JTREG to run
else
# Default JDK for JTREG
JT_JAVA = $(JPRT_JAVA_HOME)
else
# Default JDK to test
else
# The test directories to run
DEFAULT_TESTDIRS = .
TESTDIRS = $(DEFAULT_TESTDIRS)
# Root of all test results
# Default make rule
@echo "Testing completed successfully"
# for use with JPRT -testrule
# Check to make sure these directories exist
# Run the tests
@mkdir -p $(TEST_OUTPUT_DIR)
-r:$(TEST_OUTPUT_DIR)/JTreport \
-w:$(TEST_OUTPUT_DIR)/JTwork \
-Xbootclasspath/p:$(TESTBOOTCLASSPATH) \
$(TESTDIRS) \
|| ( status=$$? ; \
echo ; echo "Summary of test failures" ; \
echo ; \
exit $$status )
# Bundle up the results
@rm -f $@
@mkdir -p $(@D)
# Cleanup
rm -f -r $(TEST_OUTPUT_DIR)
rm -f $(JPRT_ARCHIVE_BUNDLE)
# Used to force a target rules to run
FRC:
# Phony targets (e.g. these are not filenames)