[OpenBIOS] r97 - in fcode-utils: . testsuite toke

svn at openbios.org svn at openbios.org
Sun Oct 15 18:37:03 CEST 2006


Author: stepan
Date: 2006-10-15 18:37:02 +0200 (Sun, 15 Oct 2006)
New Revision: 97

Added:
   fcode-utils/testsuite/Makefile
Modified:
   fcode-utils/Makefile
   fcode-utils/toke/Makefile
Log:
add test execution to Makefile


Modified: fcode-utils/Makefile
===================================================================
--- fcode-utils/Makefile	2006-10-14 21:32:13 UTC (rev 96)
+++ fcode-utils/Makefile	2006-10-15 16:37:02 UTC (rev 97)
@@ -35,13 +35,20 @@
 	make -C toke clean
 	make -C detok clean
 	make -C romheaders clean
+	make -C testsuite clean
 
 distclean: clean
 	make -C toke distclean
 	make -C detok distclean
 	make -C romheaders distclean
+	make -C testsuite distclean
 
+tests: all
+	cp toke/toke testsuite
+	cp detok/detok testsuite
+	cp romheaders/romheaders testsuite
+	make -C testsuite all
 
 
-.PHONY: all clean distclean toke detok romheaders
+.PHONY: all clean distclean toke detok romheaders tests
 

Added: fcode-utils/testsuite/Makefile
===================================================================
--- fcode-utils/testsuite/Makefile	                        (rev 0)
+++ fcode-utils/testsuite/Makefile	2006-10-15 16:37:02 UTC (rev 97)
@@ -0,0 +1,16 @@
+all:
+	@echo "starting testsuite"
+	@csh AutoExec
+
+
+clean:
+	find . -name "*.DeTok" -exec rm -f \{\} \;
+	find . -name "*.Log" -a ! -name "*..OldTkzr.Log" -exec rm -f \{\} \;
+	find . -name "*.fc" -exec rm -f \{\} \;
+	find . -name "*.fl" -exec rm -f \{\} \;
+	find . -name "*.RomHdr" -exec rm -f \{\} \;
+	find . -name "*.P" -exec rm -f \{\} \;
+	find . -name "*.missing" -exec rm -f \{\} \;
+
+distclean: clean
+	rm -f toke detok romheaders

Modified: fcode-utils/toke/Makefile
===================================================================
--- fcode-utils/toke/Makefile	2006-10-14 21:32:13 UTC (rev 96)
+++ fcode-utils/toke/Makefile	2006-10-15 16:37:02 UTC (rev 97)
@@ -30,7 +30,7 @@
 
 # No coverage:
 #CFLAGS  = -O2 -g -Wall 
-CFLAGS  = -Os -Wall -Wno-pointer-sign -DSYS_IS_GNU_Linux
+CFLAGS  = -Os -Wall -Wno-pointer-sign -fno-strict-aliasing -DSYS_IS_GNU_Linux
 LDFLAGS =
 
 # Coverage:




More information about the OpenBIOS mailing list