/ Check-in [cfeb1b1c]
Login

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

Overview
Comment:New makefile target "fastfuzztest" runs the same tests as "fuzztest" but with a 100M memory size limit. This more than doubles the speed. The original unlimited "fuzztest" is still run on a "fulltest".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cfeb1b1c294c58222549d06819e9df2e300388fd
User & Date: drh 2015-07-24 17:26:13
Context
2015-07-24
17:36
Add the sqlite3_bind_zeroblob64() API. check-in: 1997ee54 user: dan tags: trunk
17:26
New makefile target "fastfuzztest" runs the same tests as "fuzztest" but with a 100M memory size limit. This more than doubles the speed. The original unlimited "fuzztest" is still run on a "fulltest". check-in: cfeb1b1c user: drh tags: trunk
17:14
Fix compiler warnings. Get the new sqlite3_result_zeroblob64() working on loadable extensions. check-in: f8991e6f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to Makefile.in.

  1035   1035   	./testfixture$(TEXE) $(TOP)/test/all.test $(TESTOPTS)
  1036   1036   
  1037   1037   # Really really long testing
  1038   1038   soaktest:	$(TESTPROGS)
  1039   1039   	./testfixture$(TEXE) $(TOP)/test/all.test -soak=1 $(TESTOPTS)
  1040   1040   
  1041   1041   # Do extra testing but not everything.
  1042         -fulltestonly:	$(TESTPROGS)
         1042  +fulltestonly:	$(TESTPROGS) fuzztest
  1043   1043   	./testfixture$(TEXE) $(TOP)/test/full.test
  1044   1044   
  1045   1045   # Fuzz testing
  1046   1046   fuzztest:	fuzzcheck$(TEXE) $(FUZZDATA)
         1047  +	./fuzzcheck$(TEXE) $(FUZZDATA)
         1048  +
         1049  +fastfuzztest:	fuzzcheck$(TEXE) $(FUZZDATA)
  1047   1050   	./fuzzcheck$(TEXE) --limit-mem 100M $(FUZZDATA)
  1048   1051   
  1049   1052   valgrindfuzz:	fuzzcheck$(TEXT) $(FUZZDATA)
  1050         -	valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 100M $(FUZZDATA)
         1053  +	valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M $(FUZZDATA)
  1051   1054   
  1052   1055   # Minimal testing that runs in less than 3 minutes
  1053   1056   #
  1054   1057   quicktest:	./testfixture$(TEXE)
  1055   1058   	./testfixture$(TEXE) $(TOP)/test/extraquick.test $(TESTOPTS)
  1056   1059   
  1057   1060   # This is the common case.  Run many tests that do not take too long,
  1058   1061   # including fuzzcheck, sqlite3_analyzer, and sqldiff tests.
  1059   1062   #
  1060         -test:	$(TESTPROGS) fuzztest
         1063  +test:	$(TESTPROGS) fastfuzztest
  1061   1064   	./testfixture$(TEXE) $(TOP)/test/veryquick.test $(TESTOPTS)
  1062   1065   
  1063   1066   # Run a test using valgrind.  This can take a really long time
  1064   1067   # because valgrind is so much slower than a native machine.
  1065   1068   #
  1066   1069   valgrindtest:	$(TESTPROGS) valgrindfuzz
  1067   1070   	OMIT_MISUSE=1 valgrind -v ./testfixture$(TEXE) $(TOP)/test/permutations.test valgrind $(TESTOPTS)

Changes to Makefile.msc.

  1732   1732   fulltestonly:	$(TESTPROGS) fuzztest
  1733   1733   	.\testfixture.exe $(TOP)\test\full.test
  1734   1734   
  1735   1735   queryplantest:	testfixture.exe sqlite3.exe
  1736   1736   	.\testfixture.exe $(TOP)\test\permutations.test queryplanner $(TESTOPTS)
  1737   1737   
  1738   1738   fuzztest:	fuzzcheck.exe
         1739  +	.\fuzzcheck.exe $(FUZZDATA)
         1740  +
         1741  +fastfuzztest:	fuzzcheck.exe
  1739   1742   	.\fuzzcheck.exe --limit-mem 100M $(FUZZDATA)
  1740   1743   
  1741   1744   # Minimal testing that runs in less than 3 minutes (on a fast machine)
  1742   1745   #
  1743   1746   quicktest:	testfixture.exe
  1744   1747   	.\testfixture.exe $(TOP)\test\extraquick.test $(TESTOPTS)
  1745   1748   
  1746   1749   # This is the common case.  Run many tests that do not take too long,
  1747   1750   # including fuzzcheck, sqlite3_analyzer, and sqldiff tests.
  1748   1751   #
  1749         -test:	$(TESTPROGS) fuzztest
         1752  +test:	$(TESTPROGS) fastfuzztest
  1750   1753   	.\testfixture.exe $(TOP)\test\veryquick.test $(TESTOPTS)
  1751   1754   
  1752   1755   smoketest:	$(TESTPROGS)
  1753   1756   	.\testfixture.exe $(TOP)\test\main.test $(TESTOPTS)
  1754   1757   
  1755   1758   sqlite3_analyzer.c: $(SQLITE3C) $(TOP)\src\tclsqlite.c $(TOP)\tool\spaceanal.tcl
  1756   1759   	echo #define TCLSH 2 > $@

Changes to main.mk.

   719    719   fulltestonly:	$(TESTPROGS) fuzztest
   720    720   	./testfixture$(EXE) $(TOP)/test/full.test $(TESTOPTS)
   721    721   
   722    722   queryplantest:	testfixture$(EXE) sqlite3$(EXE)
   723    723   	./testfixture$(EXE) $(TOP)/test/permutations.test queryplanner $(TESTOPTS)
   724    724   
   725    725   fuzztest:	fuzzcheck$(EXE) $(FUZZDATA)
          726  +	./fuzzcheck$(EXE) $(FUZZDATA)
          727  +
          728  +fastfuzztest:	fuzzcheck$(EXE) $(FUZZDATA)
   726    729   	./fuzzcheck$(EXE) --limit-mem 100M $(FUZZDATA)
   727    730   
   728    731   valgrindfuzz:	fuzzcheck$(EXE) $(FUZZDATA)
   729         -	valgrind ./fuzzcheck$(EXE) --cell-size-check --limit-mem 100M $(FUZZDATA)
          732  +	valgrind ./fuzzcheck$(EXE) --cell-size-check --limit-mem 10M $(FUZZDATA)
   730    733   
   731    734   # A very quick test using only testfixture and omitting all the slower
   732    735   # tests.  Designed to run in under 3 minutes on a workstation.
   733    736   #
   734    737   quicktest:	./testfixture$(EXE)
   735    738   	./testfixture$(EXE) $(TOP)/test/extraquick.test $(TESTOPTS)
   736    739   
   737    740   # The default test case.  Runs most of the faster standard TCL tests,
   738    741   # and fuzz tests, and sqlite3_analyzer and sqldiff tests.
   739    742   #
   740         -test:	$(TESTPROGS) fuzztest
          743  +test:	$(TESTPROGS) fastfuzztest
   741    744   	./testfixture$(EXE) $(TOP)/test/veryquick.test $(TESTOPTS)
   742    745   
   743    746   # Run a test using valgrind.  This can take a really long time
   744    747   # because valgrind is so much slower than a native machine.
   745    748   #
   746    749   valgrindtest:	$(TESTPROGS) valgrindfuzz
   747    750   	OMIT_MISUSE=1 valgrind -v \