mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:09:33 +02:00
+ onlygraph, onlyknown onlyinteractive added
This commit is contained in:
parent
4f5c0e07ec
commit
c3771d3813
@ -1077,8 +1077,10 @@ $(DIGEST) : units utils/digest.pp utils/teststr.pp
|
||||
$(FPC) -n -Fuunits -FE. utils/digest.pp
|
||||
testcheck: units allpreps $(DOTEST)
|
||||
ifneq ($(FPC),ppc386$(EXEEXT))
|
||||
ifeq ($finstring -c$(FPC),$(DOTESTOPT),)
|
||||
override DOTESTOPT+=-c$(FPC)
|
||||
endif
|
||||
endif
|
||||
ifdef GRAPH
|
||||
override DOTESTOPT+=-g
|
||||
endif
|
||||
@ -1132,11 +1134,17 @@ endif
|
||||
distclean: clean
|
||||
-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(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)
|
||||
-$(DIGEST)
|
||||
all : allexectests
|
||||
full : clean allexectests rundigest
|
||||
onlyknown :
|
||||
$(MAKE) full "DOTESTOPT= $(DOTESTOPT) -k-"
|
||||
onlygraph :
|
||||
$(MAKE) full "DOTESTOPT= $(DOTESTOPT) -g-"
|
||||
onlyinteractive :
|
||||
$(MAKE) "DOTESTOPT= $(DOTESTOPT) -i-"
|
||||
info :
|
||||
@echo This Makefile allows to test the compiler
|
||||
@echo
|
||||
@ -1145,7 +1153,9 @@ info :
|
||||
@echo full - clean and run all tests
|
||||
@echo dailytest - run full and save results
|
||||
@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)
|
||||
ifneq ($(wildcard log.$(DATESUFFIX)),)
|
||||
override DATESUFFIX=$(shell $(DATE) +%Y.%m.%d.%H.%M)
|
||||
|
@ -66,8 +66,10 @@ testcheck: units allpreps $(DOTEST)
|
||||
#
|
||||
|
||||
ifneq ($(FPC),ppc386$(EXEEXT))
|
||||
ifeq ($finstring -c$(FPC),$(DOTESTOPT),)
|
||||
override DOTESTOPT+=-c$(FPC)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef GRAPH
|
||||
override DOTESTOPT+=-g
|
||||
@ -168,7 +170,7 @@ distclean: clean
|
||||
# Main rules
|
||||
#
|
||||
|
||||
.PHONY: all full rundigest dailytest
|
||||
.PHONY: all full rundigest dailytest onlyknown onlygraph onlyinteractive
|
||||
|
||||
rundigest : $(DIGEST)
|
||||
-$(DIGEST)
|
||||
@ -177,6 +179,15 @@ all : allexectests
|
||||
|
||||
full : clean allexectests rundigest
|
||||
|
||||
onlyknown :
|
||||
$(MAKE) full "DOTESTOPT= $(DOTESTOPT) -k-"
|
||||
|
||||
onlygraph :
|
||||
$(MAKE) full "DOTESTOPT= $(DOTESTOPT) -g-"
|
||||
|
||||
onlyinteractive :
|
||||
$(MAKE) "DOTESTOPT= $(DOTESTOPT) -i-"
|
||||
|
||||
info :
|
||||
@echo This Makefile allows to test the compiler
|
||||
@echo
|
||||
@ -185,7 +196,10 @@ info :
|
||||
@echo full - clean and run all tests
|
||||
@echo dailytest - run full and save results
|
||||
@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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user