Commit 487ecdc4e02afc27351578332a09f082653f55ee

Stefan Reinauer 2006-10-15T20:09:08

automatic tests 1. git-svn-id: svn://coreboot.org/openbios/fcode-utils@99 f158a5a8-5612-0410-a976-696ce0be7e32

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.*
+