mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 09:09:34 +02:00
* support subdirs under test/
This commit is contained in:
parent
f0a017ea68
commit
41246cda88
@ -765,6 +765,7 @@ cleanall: fpc_cleanall
|
||||
ifneq ($(wildcard fpcmake.loc),)
|
||||
include fpcmake.loc
|
||||
endif
|
||||
TESTSUBDIRS=cg units/system units/dos units/crt
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
INUNIX=1
|
||||
endif
|
||||
@ -809,7 +810,8 @@ alltbs : testcheck $(patsubst %.pp,%.log,$(wildcard tbs/t*.pp))
|
||||
alltbf : testcheck $(patsubst %.pp,%.log,$(wildcard tbf/t*.pp))
|
||||
allwebtbs : testcheck $(patsubst %.pp,%.log,$(wildcard webtbs/t*.pp))
|
||||
allwebtbf : testcheck $(patsubst %.pp,%.log,$(wildcard webtbf/t*.pp))
|
||||
alltest : testcheck $(patsubst %.pp,%.log,$(wildcard test/t*.pp))
|
||||
TESTDIRS:=test $(addprefix test/,$(TESTSUBDIRS))
|
||||
alltest : testcheck $(patsubst %.pp,%.log,$(wildcard $(addsuffix /t*.pp,$(TESTDIRS))))
|
||||
alltestopt : testcheck $(patsubst %.pp,%.log,$(wildcard testopt/t*.pp))
|
||||
alltests: alltest alltbs alltbf allwebtbs allwebtbf
|
||||
.PHONY: allexectbs allexectbf allexecwebtbs allexecwebtbf allexectest allexectestopt allexectests
|
||||
|
@ -11,6 +11,9 @@ rule=allexectests
|
||||
|
||||
|
||||
[rules]
|
||||
# Subdirs available in the test subdir
|
||||
TESTSUBDIRS=cg units/system units/dos units/crt
|
||||
|
||||
# Unix like OS ?
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
INUNIX=1
|
||||
@ -91,7 +94,8 @@ alltbf : testcheck $(patsubst %.pp,%.log,$(wildcard tbf/t*.pp))
|
||||
allwebtbs : testcheck $(patsubst %.pp,%.log,$(wildcard webtbs/t*.pp))
|
||||
allwebtbf : testcheck $(patsubst %.pp,%.log,$(wildcard webtbf/t*.pp))
|
||||
|
||||
alltest : testcheck $(patsubst %.pp,%.log,$(wildcard test/t*.pp))
|
||||
TESTDIRS:=test $(addprefix test/,$(TESTSUBDIRS))
|
||||
alltest : testcheck $(patsubst %.pp,%.log,$(wildcard $(addsuffix /t*.pp,$(TESTDIRS))))
|
||||
alltestopt : testcheck $(patsubst %.pp,%.log,$(wildcard testopt/t*.pp))
|
||||
|
||||
alltests: alltest alltbs alltbf allwebtbs allwebtbf
|
||||
|
Loading…
Reference in New Issue
Block a user