Check-in [5f83d2720e]
Not logged in
Overview

SHA1 Hash:5f83d2720e094c5164028d34049fa71682179d69
Date: 2007-08-29 04:00:37
User: aku
Comment:Re-added the 'test' target, this time in the correct file, then regenerated the main.mk file.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/main.mk from [b8f1b0de79] to [d7d0790c57].

@@ -168,10 +168,16 @@
 makeheaders:	$(SRCDIR)/makeheaders.c
 	$(BCC) -o makeheaders $(SRCDIR)/makeheaders.c
 
 mkindex:	$(SRCDIR)/mkindex.c
 	$(BCC) -o mkindex $(SRCDIR)/mkindex.c
+
+# WARNING. DANGER. Running the testsuite modifies the repository the
+# build is done from, i.e. the checkout belongs to. Do not sync/push
+# the repository after running the tests.
+test:	$(APPNAME)
+	$(TCLSH) test/tester.tcl $(APPNAME)
 
 VERSION.h:	$(SRCDIR)/../manifest.uuid
 	awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}'  $(SRCDIR)/../manifest.uuid >VERSION.h
 
 $(APPNAME):	headers $(OBJ) sqlite3.o

Modified src/makemake.tcl from [7c5cc8110a] to [e6f77439f4].

@@ -101,10 +101,16 @@
 makeheaders:	$(SRCDIR)/makeheaders.c
 	$(BCC) -o makeheaders $(SRCDIR)/makeheaders.c
 
 mkindex:	$(SRCDIR)/mkindex.c
 	$(BCC) -o mkindex $(SRCDIR)/mkindex.c
+
+# WARNING. DANGER. Running the testsuite modifies the repository the
+# build is done from, i.e. the checkout belongs to. Do not sync/push
+# the repository after running the tests.
+test:	$(APPNAME)
+	$(TCLSH) test/tester.tcl $(APPNAME)
 
 VERSION.h:	$(SRCDIR)/../manifest.uuid
 	awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' \
 		$(SRCDIR)/../manifest.uuid >VERSION.h