mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 11:45:32 +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
|
$(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)
|
||||||
|
@ -66,8 +66,10 @@ 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
|
||||||
@ -168,7 +170,7 @@ distclean: clean
|
|||||||
# Main rules
|
# Main rules
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: all full rundigest dailytest
|
.PHONY: all full rundigest dailytest onlyknown onlygraph onlyinteractive
|
||||||
|
|
||||||
rundigest : $(DIGEST)
|
rundigest : $(DIGEST)
|
||||||
-$(DIGEST)
|
-$(DIGEST)
|
||||||
@ -177,6 +179,15 @@ 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
|
||||||
@ -185,7 +196,10 @@ 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user