Browse Source

+ compilation of digest executable added
+ rundigest target added
* full also runs rundigest

pierre 23 years ago
parent
commit
ef47f697f9
2 changed files with 21 additions and 9 deletions
  1. 10 5
      tests/Makefile
  2. 11 4
      tests/Makefile.fpc

+ 10 - 5
tests/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2002/10/10]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2002/09/26]
 #
 default: allexectests
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
@@ -1070,8 +1070,11 @@ units : units/$(FPCMADE)
 units/$(FPCMADE):
 	$(MAKE) -C units
 DOTEST=./dotest$(EXEEXT)
-$(DOTEST) : units utils/dotest.pp utils/redir.pp
-	$(FPC) -Fuunits -FE. utils/dotest
+$(DOTEST) : units utils/dotest.pp utils/redir.pp utils/teststr.pp
+	$(FPC) -Fuunits -FE. utils/dotest.pp
+DIGEST=./digest$(EXEEXT)
+$(DIGEST) : units utils/digest.pp utils/teststr.pp
+	$(FPC) -Fuunits -FE. utils/digest.pp
 testcheck: units allpreps $(DOTEST)
 ifneq ($(FPC),ppc386$(EXEEXT))
 override DOTESTOPT+=-c$(FPC)
@@ -1128,9 +1131,11 @@ endif
 	$(MAKE) -C units clean
 distclean: clean
 	-rm -f dotest$(EXEEXT) dotest$(OEXT) redir$(PPUEXT) redir$(OEXT)
-.PHONY: all full
+.PHONY: all full rundigest
+rundigest :
+	-$(DIGEST)
 all : allexectests
-full : clean allexectests
+full : clean allexectests rundigest
 info :
 	@echo This Makefile allows to test the compiler
 	@echo

+ 11 - 4
tests/Makefile.fpc

@@ -52,9 +52,13 @@ units/$(FPCMADE):
         $(MAKE) -C units
 
 DOTEST=./dotest$(EXEEXT)
-$(DOTEST) : units utils/dotest.pp utils/redir.pp
-        $(FPC) -Fuunits -FE. utils/dotest
+$(DOTEST) : units utils/dotest.pp utils/redir.pp utils/teststr.pp
+        $(FPC) -Fuunits -FE. utils/dotest.pp
 
+DIGEST=./digest$(EXEEXT)
+$(DIGEST) : units utils/digest.pp utils/teststr.pp
+	$(FPC) -Fuunits -FE. utils/digest.pp
+	
 testcheck: units allpreps $(DOTEST)
 
 #
@@ -163,11 +167,14 @@ distclean: clean
 # Main rules
 #
 
-.PHONY: all full
+.PHONY: all full rundigest
+
+rundigest :
+	-$(DIGEST)
 
 all : allexectests
 
-full : clean allexectests
+full : clean allexectests rundigest
 
 info :
         @echo This Makefile allows to test the compiler