Diff
Not logged in

Differences From:

File src/makemake.tcl part of check-in [b616c3d8c3] - Patch up makemake.tcl to incorporate aku's edits, then regenerate the main.mk file. by drh on 2007-08-29 03:22:20. [view]

To:

File src/makemake.tcl part of check-in [5f83d2720e] - Re-added the 'test' target, this time in the correct file, then regenerated the main.mk file. by aku on 2007-08-29 04:00:37. Also file src/makemake.tcl part of check-in [fad606934c] - Merge aku's makefile changes. by drh on 2007-08-29 11:51:05. [view]

@@ -102,8 +102,14 @@
 	$(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