automatic tests 1. git-svn-id: svn://coreboot.org/openbios/fcode-utils@99 f158a5a8-5612-0410-a976-696ce0be7e32
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
diff --git a/Makefile b/Makefile
index b6c6ae3..abcb185 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ tests: all
cp toke/toke testsuite
cp detok/detok testsuite
cp romheaders/romheaders testsuite
- make -C testsuite all
+ make -C testsuite all CygTestLogs=`pwd`/testsuite/testlogs
.PHONY: all clean distclean toke detok romheaders tests
diff --git a/testsuite/Makefile b/testsuite/Makefile
index 7499a2c..068f1d1 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -1,7 +1,11 @@
-all:
+all: tests compare
+
+tests:
@echo "starting testsuite"
@csh AutoExec
+compare:
+ CygTestLogs=$(CygTestLogs) csh AutoCompare
clean:
find . -name "*.DeTok" -a ! -name "*.OldTkzr.DeTok" -exec rm -f \{\} \;
@@ -14,3 +18,6 @@ clean:
distclean: clean
rm -f toke detok romheaders
+ rm -f AutoComp.Log.*
+ rm -f AutoComp.TKdiffs.*
+