소스 검색

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

pierre 23 년 전
부모
커밋
d8c3ce5c19
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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):
 	$(FPC) -FE. -Fuunits test/cg/ptest.pp
 	$(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
+	$(COPY) test/units/system/test*.txt .
 	$(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 .PHONY: alltbs alltbf allwebtbs allwebtbf alltest alltests
 alltbs : testcheck $(patsubst %.pp,%.log,$(wildcard tbs/t*.pp))
@@ -1123,6 +1124,7 @@ endif
 	-rm -f *.tmp core
 	-rm -f $(LOG) $(LONGLOG) $(FAILLIST)
 	-rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
+	-rm -f test*.txt
 	$(MAKE) -C units clean
 distclean: clean
 	-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):
         $(FPC) -FE. -Fuunits test/cg/ptest.pp
         $(COPY) test/cg/obj/$(OS_TARGET)/$(CPU_TARGET)/ctest.o test/cg
+	$(COPY) test/units/system/test*.txt .
         $(ECHO) $(DATE) > allpreps-stamp.$(OS_TARGET)
 
 #
@@ -152,6 +153,7 @@ endif
         -rm -f *.tmp core
         -rm -f $(LOG) $(LONGLOG) $(FAILLIST)
         -rm -f ppas.sh ppas.bat gmon.out allpreps-stamp.$(OS_TARGET)
+	-rm -f test*.txt
         $(MAKE) -C units clean
 
 distclean: clean