|
@@ -14,6 +14,9 @@ rule=allexectests
|
|
# Subdirs available in the test subdir
|
|
# Subdirs available in the test subdir
|
|
TESTSUBDIRS=cg units/system units/dos units/crt
|
|
TESTSUBDIRS=cg units/system units/dos units/crt
|
|
|
|
|
|
|
|
+# All full dirnames in the test/ dir including the subdir self
|
|
|
|
+TESTDIRS:=test $(addprefix test/,$(TESTSUBDIRS))
|
|
|
|
+
|
|
# Unix like OS ?
|
|
# Unix like OS ?
|
|
ifeq ($(OS_TARGET),linux)
|
|
ifeq ($(OS_TARGET),linux)
|
|
INUNIX=1
|
|
INUNIX=1
|
|
@@ -74,7 +77,7 @@ endif
|
|
# Test run targets
|
|
# Test run targets
|
|
#
|
|
#
|
|
|
|
|
|
-DIRS=webtbs webtbf tbs tbf test testopt
|
|
|
|
|
|
+DIRS=webtbs webtbf tbs tbf test
|
|
|
|
|
|
%.log : %.pp
|
|
%.log : %.pp
|
|
$(DOTEST) $(DOTESTOPT) $<
|
|
$(DOTEST) $(DOTESTOPT) $<
|
|
@@ -86,7 +89,7 @@ DIRS=webtbs webtbf tbs tbf test testopt
|
|
# Compile tests
|
|
# Compile tests
|
|
#
|
|
#
|
|
|
|
|
|
-.PHONY: alltbs alltbf allwebtbs allwebtbf alltest alltestopt alltests
|
|
|
|
|
|
+.PHONY: alltbs alltbf allwebtbs allwebtbf alltest alltests
|
|
|
|
|
|
alltbs : testcheck $(patsubst %.pp,%.log,$(wildcard tbs/t*.pp))
|
|
alltbs : testcheck $(patsubst %.pp,%.log,$(wildcard tbs/t*.pp))
|
|
alltbf : testcheck $(patsubst %.pp,%.log,$(wildcard tbf/t*.pp))
|
|
alltbf : testcheck $(patsubst %.pp,%.log,$(wildcard tbf/t*.pp))
|
|
@@ -94,9 +97,7 @@ alltbf : testcheck $(patsubst %.pp,%.log,$(wildcard tbf/t*.pp))
|
|
allwebtbs : testcheck $(patsubst %.pp,%.log,$(wildcard webtbs/t*.pp))
|
|
allwebtbs : testcheck $(patsubst %.pp,%.log,$(wildcard webtbs/t*.pp))
|
|
allwebtbf : testcheck $(patsubst %.pp,%.log,$(wildcard webtbf/t*.pp))
|
|
allwebtbf : testcheck $(patsubst %.pp,%.log,$(wildcard webtbf/t*.pp))
|
|
|
|
|
|
-TESTDIRS:=test $(addprefix test/,$(TESTSUBDIRS))
|
|
|
|
alltest : testcheck $(patsubst %.pp,%.log,$(wildcard $(addsuffix /t*.pp,$(TESTDIRS))))
|
|
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
|
|
alltests: alltest alltbs alltbf allwebtbs allwebtbf
|
|
|
|
|
|
@@ -104,7 +105,7 @@ alltests: alltest alltbs alltbf allwebtbs allwebtbf
|
|
# Compile and Run tests
|
|
# Compile and Run tests
|
|
#
|
|
#
|
|
|
|
|
|
-.PHONY: allexectbs allexectbf allexecwebtbs allexecwebtbf allexectest allexectestopt allexectests
|
|
|
|
|
|
+.PHONY: allexectbs allexectbf allexecwebtbs allexecwebtbf allexectest allexectests
|
|
|
|
|
|
allexectbs : testcheck $(patsubst %.pp,%.elg,$(wildcard tbs/t*.pp))
|
|
allexectbs : testcheck $(patsubst %.pp,%.elg,$(wildcard tbs/t*.pp))
|
|
allexectbf : testcheck $(patsubst %.pp,%.elg,$(wildcard tbf/t*.pp))
|
|
allexectbf : testcheck $(patsubst %.pp,%.elg,$(wildcard tbf/t*.pp))
|
|
@@ -112,8 +113,7 @@ allexectbf : testcheck $(patsubst %.pp,%.elg,$(wildcard tbf/t*.pp))
|
|
allexecwebtbs : testcheck $(patsubst %.pp,%.elg,$(wildcard webtbs/t*.pp))
|
|
allexecwebtbs : testcheck $(patsubst %.pp,%.elg,$(wildcard webtbs/t*.pp))
|
|
allexecwebtbf : testcheck $(patsubst %.pp,%.elg,$(wildcard webtbf/t*.pp))
|
|
allexecwebtbf : testcheck $(patsubst %.pp,%.elg,$(wildcard webtbf/t*.pp))
|
|
|
|
|
|
-allexectest : testcheck $(patsubst %.pp,%.elg,$(wildcard test/t*.pp))
|
|
|
|
-allexectestopt : testcheck $(patsubst %.pp,%.elg,$(wildcard testopt/t*.pp))
|
|
|
|
|
|
+allexectest : testcheck $(patsubst %.pp,%.elg,$(wildcard $(addsuffix /t*.pp,$(TESTDIRS))))
|
|
|
|
|
|
allexectests: allexectest allexectbs allexectbf allexecwebtbs allexecwebtbf
|
|
allexectests: allexectest allexectbs allexectbf allexecwebtbs allexecwebtbf
|
|
|
|
|