/ Check-in [bb48f7a5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adjust the unix makefiles so that "make test" runs fuzzcheck prior to even attempting to build the other test programs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bb48f7a55945da4cee369bae0809037900fcaac7
User & Date: drh 2016-12-14 11:23:51
Context
2016-12-14
11:39
Fix the configure makefile to align it with the manual makefile. Unsaved changes from the previous check-in. check-in: 00a184b6 user: drh tags: trunk
11:23
Adjust the unix makefiles so that "make test" runs fuzzcheck prior to even attempting to build the other test programs. check-in: bb48f7a5 user: drh tags: trunk
11:14
Three times faster sqlite3SrcListAppend() in the common case by avoiding the call to sqlite3SrcListEnlarge() for the first allocation. check-in: 0ea2762f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

  1105   1105   
  1106   1106   fastfuzztest:	fuzzcheck$(TEXE) $(FUZZDATA)
  1107   1107   	./fuzzcheck$(TEXE) --limit-mem 100M $(FUZZDATA)
  1108   1108   
  1109   1109   valgrindfuzz:	fuzzcheck$(TEXT) $(FUZZDATA)
  1110   1110   	valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 600 $(FUZZDATA)
  1111   1111   
         1112  +# The veryquick.test TCL tests.
         1113  +#
         1114  +tcltest:	./testfixture$(TEXE)
         1115  +	./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)
  1112   1116   
  1113   1117   # Minimal testing that runs in less than 3 minutes
  1114   1118   #
  1115   1119   quicktest:	./testfixture$(TEXE)
  1116   1120   	./testfixture$(TEXE) $(TOP)/test/extraquick.test $(TESTOPTS)
  1117   1121   
  1118   1122   # This is the common case.  Run many tests that do not take too long,
  1119   1123   # including fuzzcheck, sqlite3_analyzer, and sqldiff tests.
  1120   1124   #
  1121         -test:	$(TESTPROGS) sourcetest fastfuzztest
  1122         -	./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)
         1125  +test:	fastfuzztest $(TESTPROGS) tcltest sourcetest
  1123   1126   
  1124   1127   # Run a test using valgrind.  This can take a really long time
  1125   1128   # because valgrind is so much slower than a native machine.
  1126   1129   #
  1127   1130   valgrindtest:	$(TESTPROGS) valgrindfuzz
  1128   1131   	OMIT_MISUSE=1 valgrind -v ./testfixture$(TEXE) $(TOP)/test/permutations.test valgrind $(TESTOPTS)
  1129   1132   

Changes to main.mk.

   794    794   
   795    795   fastfuzztest:	fuzzcheck$(EXE) $(FUZZDATA)
   796    796   	./fuzzcheck$(EXE) --limit-mem 100M $(FUZZDATA)
   797    797   
   798    798   valgrindfuzz:	fuzzcheck$(EXE) $(FUZZDATA)
   799    799   	valgrind ./fuzzcheck$(EXE) --cell-size-check --limit-mem 10M --timeout 600 $(FUZZDATA)
   800    800   
          801  +# The veryquick.test TCL tests.
          802  +#
          803  +tcltest:	./testfixture$(EXE)
          804  +	./testfixture$(EXE) $(TOP)/test/veryquick.test $(TESTOPTS)
          805  +
   801    806   # A very quick test using only testfixture and omitting all the slower
   802    807   # tests.  Designed to run in under 3 minutes on a workstation.
   803    808   #
   804    809   quicktest:	./testfixture$(EXE)
   805    810   	./testfixture$(EXE) $(TOP)/test/extraquick.test $(TESTOPTS)
   806    811   
   807    812   # The default test case.  Runs most of the faster standard TCL tests,
   808    813   # and fuzz tests, and sqlite3_analyzer and sqldiff tests.
   809         -#
   810         -test:	$(TESTPROGS) sourcetest fastfuzztest
   811         -	./testfixture$(EXE) $(TOP)/test/veryquick.test $(TESTOPTS)
          814  +test:	fastfuzztest sourcetest $(TESTPROGS) tcltest
   812    815   
   813    816   # Run a test using valgrind.  This can take a really long time
   814    817   # because valgrind is so much slower than a native machine.
   815    818   #
   816    819   valgrindtest:	$(TESTPROGS) valgrindfuzz
   817    820   	OMIT_MISUSE=1 valgrind -v \
   818    821   	./testfixture$(EXE) $(TOP)/test/permutations.test valgrind $(TESTOPTS)