From dc9c9e21f4cb234869db8da9ee6e88a20a37d78f Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 15 Oct 2003 17:08:05 +0000 Subject: [PATCH] * readme extended * os and processor is passed by the makefile to dbdigest --- tests/Makefile | 5 +++-- tests/Makefile.fpc | 2 +- tests/readme.txt | 9 ++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 7e797e578c..a49b0bdf95 100644 --- a/tests/Makefile +++ b/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 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 SEARCHPATH:=$(subst ;, ,$(PATH)) endif +SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE))) PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH)))) ifeq ($(PWD),) PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH)))) @@ -1514,7 +1515,7 @@ distclean: clean rundigest : $(DIGESTDEP) -$(DIGEST) ifeq ($(USESQL),YES) - -$(DBDIGEST) -v $(DIGESTVER) + -$(DBDIGEST) -v $(DIGESTVER) -o $(OS_TARGET) -c $(CPU_TARGET) endif all : allexectests full : clean allexectests rundigest diff --git a/tests/Makefile.fpc b/tests/Makefile.fpc index 4e85818a6a..78b1a7cae9 100644 --- a/tests/Makefile.fpc +++ b/tests/Makefile.fpc @@ -235,7 +235,7 @@ distclean: clean rundigest : $(DIGESTDEP) -$(DIGEST) ifeq ($(USESQL),YES) - -$(DBDIGEST) -v $(DIGESTVER) + -$(DBDIGEST) -v $(DIGESTVER) -o $(OS_TARGET) -c $(CPU_TARGET) endif all : allexectests diff --git a/tests/readme.txt b/tests/readme.txt index 1e95c20d5a..b160b0613a 100644 --- a/tests/readme.txt +++ b/tests/readme.txt @@ -24,10 +24,13 @@ FAIL..............Compilation must fail RECOMPILE.........???? NORUN.............Do not execute test, only compile it 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 NOTE..............Output note when compiling/executing test 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