Browse Source

* readme extended
* os and processor is passed by the makefile to dbdigest

florian 22 years ago
parent
commit
dc9c9e21f4
3 changed files with 10 additions and 6 deletions
  1. 3 2
      tests/Makefile
  2. 1 1
      tests/Makefile.fpc
  3. 6 3
      tests/readme.txt

+ 3 - 2
tests/Makefile

@@ -1,5 +1,5 @@
 #
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2003/10/09]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/10/15]
 #
 #
 default: allexectests
 default: allexectests
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom
@@ -10,6 +10,7 @@ SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
 else
 else
 SEARCHPATH:=$(subst ;, ,$(PATH))
 SEARCHPATH:=$(subst ;, ,$(PATH))
 endif
 endif
+SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE)))
 PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
 PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
 ifeq ($(PWD),)
 ifeq ($(PWD),)
 PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
 PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
@@ -1514,7 +1515,7 @@ distclean: clean
 rundigest : $(DIGESTDEP)
 rundigest : $(DIGESTDEP)
 	-$(DIGEST)
 	-$(DIGEST)
 ifeq ($(USESQL),YES)
 ifeq ($(USESQL),YES)
-	-$(DBDIGEST) -v $(DIGESTVER)
+	-$(DBDIGEST) -v $(DIGESTVER) -o $(OS_TARGET) -c $(CPU_TARGET)
 endif
 endif
 all : allexectests
 all : allexectests
 full : clean allexectests rundigest
 full : clean allexectests rundigest

+ 1 - 1
tests/Makefile.fpc

@@ -235,7 +235,7 @@ distclean: clean
 rundigest : $(DIGESTDEP)
 rundigest : $(DIGESTDEP)
         -$(DIGEST)
         -$(DIGEST)
 ifeq ($(USESQL),YES)
 ifeq ($(USESQL),YES)
-        -$(DBDIGEST) -v $(DIGESTVER)
+        -$(DBDIGEST) -v $(DIGESTVER) -o $(OS_TARGET) -c $(CPU_TARGET)
 endif
 endif
 
 
 all : allexectests
 all : allexectests

+ 6 - 3
tests/readme.txt

@@ -24,10 +24,13 @@ FAIL..............Compilation must fail
 RECOMPILE.........????
 RECOMPILE.........????
 NORUN.............Do not execute test, only compile it
 NORUN.............Do not execute test, only compile it
 KNOWN.............Known bug, will not be logged as bug
 KNOWN.............Known bug, will not be logged as bug
-INTERACTIVE.......Do not execute test, as it requires user 
+INTERACTIVE.......Do not execute test, as it requires user
 			intervention
 			intervention
 NOTE..............Output note when compiling/executing test
 NOTE..............Output note when compiling/executing test
 
 
 To actually start the testsuite:
 To actually start the testsuite:
-do a simple make full
-This should create a log of all failed tests.
+do a simple
+make full This should create a log of all failed tests.
+
+make rundigest scans the created log file and outputs some statistics
+make rundigest USESQL=YES sends the results to an SQL database