|
@@ -1077,8 +1077,10 @@ $(DIGEST) : units utils/digest.pp utils/teststr.pp
|
|
$(FPC) -n -Fuunits -FE. utils/digest.pp
|
|
$(FPC) -n -Fuunits -FE. utils/digest.pp
|
|
testcheck: units allpreps $(DOTEST)
|
|
testcheck: units allpreps $(DOTEST)
|
|
ifneq ($(FPC),ppc386$(EXEEXT))
|
|
ifneq ($(FPC),ppc386$(EXEEXT))
|
|
|
|
+ifeq ($finstring -c$(FPC),$(DOTESTOPT),)
|
|
override DOTESTOPT+=-c$(FPC)
|
|
override DOTESTOPT+=-c$(FPC)
|
|
endif
|
|
endif
|
|
|
|
+endif
|
|
ifdef GRAPH
|
|
ifdef GRAPH
|
|
override DOTESTOPT+=-g
|
|
override DOTESTOPT+=-g
|
|
endif
|
|
endif
|
|
@@ -1132,11 +1134,17 @@ endif
|
|
distclean: clean
|
|
distclean: clean
|
|
-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(OEXT)
|
|
-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(OEXT)
|
|
-rm -f teststr$(PPUEXT) teststr$(OEXT) digest$(EXEEXT) digest$(OEXT)
|
|
-rm -f teststr$(PPUEXT) teststr$(OEXT) digest$(EXEEXT) digest$(OEXT)
|
|
-.PHONY: all full rundigest dailytest
|
|
|
|
|
|
+.PHONY: all full rundigest dailytest onlyknown onlygraph onlyinteractive
|
|
rundigest : $(DIGEST)
|
|
rundigest : $(DIGEST)
|
|
-$(DIGEST)
|
|
-$(DIGEST)
|
|
all : allexectests
|
|
all : allexectests
|
|
full : clean allexectests rundigest
|
|
full : clean allexectests rundigest
|
|
|
|
+onlyknown :
|
|
|
|
+ $(MAKE) full "DOTESTOPT= $(DOTESTOPT) -k-"
|
|
|
|
+onlygraph :
|
|
|
|
+ $(MAKE) full "DOTESTOPT= $(DOTESTOPT) -g-"
|
|
|
|
+onlyinteractive :
|
|
|
|
+ $(MAKE) "DOTESTOPT= $(DOTESTOPT) -i-"
|
|
info :
|
|
info :
|
|
@echo This Makefile allows to test the compiler
|
|
@echo This Makefile allows to test the compiler
|
|
@echo
|
|
@echo
|
|
@@ -1145,7 +1153,9 @@ info :
|
|
@echo full - clean and run all tests
|
|
@echo full - clean and run all tests
|
|
@echo dailytest - run full and save results
|
|
@echo dailytest - run full and save results
|
|
@echo in files having the date as extension
|
|
@echo in files having the date as extension
|
|
- @echo
|
|
|
|
|
|
+ @echo onlyknown - run only known bugs
|
|
|
|
+ @echo onlygraph - run only graph tests
|
|
|
|
+ @echo onlyinteractive - run only interactive tests
|
|
override DATESUFFIX:=$(shell $(DATE) +%Y.%m.%d)
|
|
override DATESUFFIX:=$(shell $(DATE) +%Y.%m.%d)
|
|
ifneq ($(wildcard log.$(DATESUFFIX)),)
|
|
ifneq ($(wildcard log.$(DATESUFFIX)),)
|
|
override DATESUFFIX=$(shell $(DATE) +%Y.%m.%d.%H.%M)
|
|
override DATESUFFIX=$(shell $(DATE) +%Y.%m.%d.%H.%M)
|