/ Check-in [eda2a437]
Login

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

Overview
Comment:Add fuzzcheck to makefile clean targets. Also, for consistency, replace a few tabs with spaces.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: eda2a437506f148bcb5bb33baa64b5ad8ae73ada
User & Date: mistachkin 2015-05-26 03:24:33
Context
2015-05-26
03:31
Silence harmless compiler warnings when building the command line utilities with MSVC. check-in: d26060c4 user: mistachkin tags: trunk
03:24
Add fuzzcheck to makefile clean targets. Also, for consistency, replace a few tabs with spaces. check-in: eda2a437 user: mistachkin tags: trunk
00:28
Add the --result-trace option to fuzzcheck, and other interface enhancements. check-in: c415bb7b user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   547    547   
   548    548   sqlite3$(TEXE):	$(TOP)/src/shell.c libsqlite3.la sqlite3.h
   549    549   	$(LTLINK) $(READLINE_FLAGS) \
   550    550   		-o $@ $(TOP)/src/shell.c libsqlite3.la \
   551    551   		$(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
   552    552   
   553    553   sqldiff$(TEXE):	$(TOP)/tool/sqldiff.c sqlite3.c sqlite3.h
   554         -	$(LTLINK) -o $@ $(TOP)/tool/sqldiff.c	sqlite3.c $(TLIBS)
          554  +	$(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.c $(TLIBS)
   555    555   
   556    556   fuzzershell$(TEXE):	$(TOP)/tool/fuzzershell.c sqlite3.c sqlite3.h
   557         -	$(LTLINK) -o $@ $(TOP)/tool/fuzzershell.c	sqlite3.c $(TLIBS)
          557  +	$(LTLINK) -o $@ $(TOP)/tool/fuzzershell.c sqlite3.c $(TLIBS)
   558    558   
   559    559   fuzzcheck$(TEXE):	$(TOP)/test/fuzzcheck.c sqlite3.c sqlite3.h
   560         -	$(LTLINK) -o $@ $(TOP)/test/fuzzcheck.c	sqlite3.c $(TLIBS)
          560  +	$(LTLINK) -o $@ $(TOP)/test/fuzzcheck.c sqlite3.c $(TLIBS)
   561    561   
   562    562   mptester$(TEXE):	sqlite3.c $(TOP)/mptest/mptest.c
   563    563   	$(LTLINK) -o $@ -I. $(TOP)/mptest/mptest.c sqlite3.c \
   564    564   		$(TLIBS) -rpath "$(libdir)"
   565    565   
   566    566   MPTEST1=./mptester$(TEXE) mptest.db $(TOP)/mptest/crash01.test --repeat 20
   567    567   MPTEST2=./mptester$(TEXE) mptest.db $(TOP)/mptest/multiwrite01.test --repeat 20
................................................................................
  1119   1119   	rm -f sqlite3.c
  1120   1120   	rm -f sqlite3rc.h
  1121   1121   	rm -f shell.c sqlite3ext.h
  1122   1122   	rm -f sqlite3_analyzer$(TEXE) sqlite3_analyzer.c
  1123   1123   	rm -f sqlite-*-output.vsix
  1124   1124   	rm -f mptester mptester.exe
  1125   1125   	rm -f fuzzershell fuzzershell.exe
         1126  +	rm -f fuzzcheck fuzzcheck.exe
  1126   1127   	rm -f sqldiff sqldiff.exe
  1127   1128   
  1128   1129   distclean:	clean
  1129   1130   	rm -f config.log config.status libtool Makefile sqlite3.pc
  1130   1131   
  1131   1132   #
  1132   1133   # Windows section

Changes to Makefile.msc.

  1757   1757   	del /Q mptester.exe wordcount.exe 2>NUL
  1758   1758   	del /Q sqlite3.exe sqlite3.dll sqlite3.def 2>NUL
  1759   1759   	del /Q sqlite3.c sqlite3-*.c 2>NUL
  1760   1760   	del /Q sqlite3rc.h 2>NUL
  1761   1761   	del /Q shell.c sqlite3ext.h 2>NUL
  1762   1762   	del /Q sqlite3_analyzer.exe sqlite3_analyzer.c 2>NUL
  1763   1763   	del /Q sqlite-*-output.vsix 2>NUL
  1764         -	del /Q fuzzershell.exe sqldiff.exe 2>NUL
         1764  +	del /Q fuzzershell.exe fuzzcheck.exe sqldiff.exe 2>NUL
  1765   1765   
  1766   1766   # Dynamic link library section.
  1767   1767   #
  1768   1768   dll: sqlite3.dll
  1769   1769   
  1770   1770   sqlite3.def: libsqlite3.lib
  1771   1771   	echo EXPORTS > sqlite3.def
  1772   1772   	dumpbin /all libsqlite3.lib \
  1773   1773   		| $(NAWK) "/ 1 _?sqlite3_/ { sub(/^.* _?/,\"\");print }" \
  1774   1774   		| sort >> sqlite3.def
  1775   1775   
  1776   1776   sqlite3.dll: $(LIBOBJ) $(LIBRESOBJS) $(CORE_LINK_DEP)
  1777   1777   	$(LD) $(LDFLAGS) $(LTLINKOPTS) $(LTLIBPATHS) /DLL $(CORE_LINK_OPTS) /OUT:$@ $(LIBOBJ) $(LIBRESOBJS) $(LTLIBS) $(TLIBS)

Changes to main.mk.

   415    415   sqlite3$(EXE):	$(TOP)/src/shell.c libsqlite3.a sqlite3.h
   416    416   	$(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE)                  \
   417    417   		$(TOP)/src/shell.c                                  \
   418    418   		libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB)
   419    419   
   420    420   sqldiff$(EXE):	$(TOP)/tool/sqldiff.c sqlite3.c sqlite3.h
   421    421   	$(TCCX) -o sqldiff$(EXE) -DSQLITE_THREADSAFE=0 \
   422         -		$(TOP)/tool/sqldiff.c	sqlite3.c $(TLIBS) $(THREADLIB)
          422  +		$(TOP)/tool/sqldiff.c sqlite3.c $(TLIBS) $(THREADLIB)
   423    423   
   424    424   fuzzershell$(EXE):	$(TOP)/tool/fuzzershell.c sqlite3.c sqlite3.h
   425    425   	$(TCCX) -o fuzzershell$(EXE) -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION\
   426         -		$(TOP)/tool/fuzzershell.c	sqlite3.c $(TLIBS) $(THREADLIB)
          426  +		$(TOP)/tool/fuzzershell.c sqlite3.c $(TLIBS) $(THREADLIB)
   427    427   
   428    428   fuzzcheck$(EXE):	$(TOP)/test/fuzzcheck.c sqlite3.c sqlite3.h
   429    429   	$(TCCX) -o fuzzcheck$(EXE) -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION\
   430         -		$(TOP)/test/fuzzcheck.c	sqlite3.c $(TLIBS) $(THREADLIB)
          430  +		$(TOP)/test/fuzzcheck.c sqlite3.c $(TLIBS) $(THREADLIB)
   431    431   
   432    432   mptester$(EXE):	sqlite3.c $(TOP)/mptest/mptest.c
   433    433   	$(TCCX) -o $@ -I. $(TOP)/mptest/mptest.c sqlite3.c \
   434    434   		$(TLIBS) $(THREADLIB)
   435    435   
   436    436   MPTEST1=./mptester$(EXE) mptest.db $(TOP)/mptest/crash01.test --repeat 20
   437    437   MPTEST2=./mptester$(EXE) mptest.db $(TOP)/mptest/multiwrite01.test --repeat 20
................................................................................
   796    796   	rm -f sqlite3.c sqlite3-*.c fts?amal.c tclsqlite3.c
   797    797   	rm -f sqlite3rc.h
   798    798   	rm -f shell.c sqlite3ext.h
   799    799   	rm -f sqlite3_analyzer sqlite3_analyzer.exe sqlite3_analyzer.c
   800    800   	rm -f sqlite-*-output.vsix
   801    801   	rm -f mptester mptester.exe
   802    802   	rm -f fuzzershell fuzzershell.exe
          803  +	rm -f fuzzcheck fuzzcheck.exe
   803    804   	rm -f sqldiff sqldiff.exe