Browse Source

+ added units/dos testing
* fix problem in my previous commit

carl 23 years ago
parent
commit
06b4ea0d41
2 changed files with 4 additions and 4 deletions
  1. 2 2
      tests/Makefile
  2. 2 2
      tests/Makefile.fpc

+ 2 - 2
tests/Makefile

@@ -1082,7 +1082,7 @@ endif
 ifdef INTERACTIVE
 override DOTESTOPT+=-i
 endif
-DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/objects
+DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/dos test/units/objects
 %.log : %.pp
 	$(DOTEST) $(DOTESTOPT) $<
 %.elg : %.pp
@@ -1090,7 +1090,7 @@ DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/objects
 .PHONY: allpreps
 allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
-	$(PP) test/ptest.pp
+	$(FPC) test/cg/ptest.pp
 	$(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
 	$(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 .PHONY: alltbs alltbf allwebtbs allwebtbf alltest alltests

+ 2 - 2
tests/Makefile.fpc

@@ -77,7 +77,7 @@ endif
 # Test run targets
 #
 
-DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/objects
+DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/dos test/units/objects
 
 %.log : %.pp
         $(DOTEST) $(DOTESTOPT) $<
@@ -95,7 +95,7 @@ DIRS=webtbs webtbf tbs tbf test test/cg test/units/system test/units/objects
 
 allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
-        $(PP) test/ptest.pp
+        $(FPC) test/cg/ptest.pp
         $(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
         $(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)