Browse Source

* trdtxt tests need copy of test*.txt in main test dir

pierre 23 years ago
parent
commit
d8c3ce5c19
2 changed files with 4 additions and 0 deletions
  1. 2 0
      tests/Makefile
  2. 2 0
      tests/Makefile.fpc

+ 2 - 0
tests/Makefile

@@ -1092,6 +1092,7 @@ allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
 allpreps-stamp.$(OS_TARGET):
 	$(FPC) -FE. -Fuunits test/cg/ptest.pp
 	$(FPC) -FE. -Fuunits test/cg/ptest.pp
 	$(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
 	$(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
+	$(COPY) test/units/system/test*.txt .
 	$(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 	$(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 .PHONY: alltbs alltbf allwebtbs allwebtbf alltest 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))
@@ -1123,6 +1124,7 @@ endif
 	-rm -f *.tmp core
 	-rm -f *.tmp core
 	-rm -f $(LOG) $(LONGLOG) $(FAILLIST)
 	-rm -f $(LOG) $(LONGLOG) $(FAILLIST)
 	-rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
 	-rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
+	-rm -f test*.txt
 	$(MAKE) -C units clean
 	$(MAKE) -C units clean
 distclean: clean
 distclean: clean
 	-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(OEXT)
 	-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(OEXT)

+ 2 - 0
tests/Makefile.fpc

@@ -97,6 +97,7 @@ allpreps: allpreps-stamp.$(OS_TARGET)
 allpreps-stamp.$(OS_TARGET):
 allpreps-stamp.$(OS_TARGET):
         $(FPC) -FE. -Fuunits test/cg/ptest.pp
         $(FPC) -FE. -Fuunits test/cg/ptest.pp
         $(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
         $(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
+	$(COPY) test/units/system/test*.txt .
         $(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
         $(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 
 
 #
 #
@@ -152,6 +153,7 @@ endif
         -rm -f *.tmp core
         -rm -f *.tmp core
         -rm -f $(LOG) $(LONGLOG) $(FAILLIST)
         -rm -f $(LOG) $(LONGLOG) $(FAILLIST)
         -rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
         -rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
+	-rm -f test*.txt
         $(MAKE) -C units clean
         $(MAKE) -C units clean
 
 
 distclean: clean
 distclean: clean