You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
524 B

include ../../Makefile.conf
include ../Makefile.conf
TEST_UNIT_NAME=testsuite
JAVA_CLASSES = \
TestMain.class \
# Use PityTest
JAVA_CLASSES += $(JAVA_CLASSES_PITYTEST)
.PHONY: pitytest compile run test clean
all: compile
$(MAKE) run
pitytest:
$(MAKE) -C $(PITYTEST_DIR)
run: compile
cd $(JAVA_CWD);$(JAVA) $(JAVA_PKG_BASENAME).$(TEST_UNIT_NAME).TestMain
compile: $(JAVA_CLASSES) pitytest
%.class: %.java
cd $(JAVA_CWD);pwd;$(JAVAC_CMD) $(JAVA_PKG_BASEPATH)/$(TEST_UNIT_NAME)/$<
clean:
rm -f $(JAVA_CLASSES)