Checklist For SQLite 3.7.12

  1. Compiler warning checks. (Warnings in the Porter stemmer code are allowed.)
    1. Linux GCC -Wall -Wextra (the tool/warnings.sh script)
    2. Mac GCC -Wall -Wextra (the tool/warnings.sh script)
    3. OpenBSD GCC using options -Wall
    4. Windows MSVC Win32 /W3
    5. Windows MSVC Win64 /W3
    6. sh tool/warnings-clang.sh

  2. Documentation checks:
    1. Latest release on the index.html page
    2. Release announcement in changes.in
    3. Release accouncement in news.html
    4. No unresolved hyperlinks in the documentation build
    5. Requirements marks are up-to-date in both documentation and source code
    6. The compile-time options are all up-to-date (compile.html)
    7. Database footprint is up-to-date (features.html)
    8. Test metrics are up-to-date (testing.html)
    9. Check new/changed documentation for spelling and gramatical mistakes
    10. Verify that this checklist agrees with planning documents

  3. Source code change review. "fossil diff --from release --to trunk"
    1. No stray changes
    2. All significant changes are mentioned in the "changes" log of the documentation
    3. New code complies with style guidelines
    4. New code complies with design rules
    5. Comments have been updated to reflect code changes
    6. Variables and functions have been renamed to reflect changes in their use
    7. Check all multiplications, and especially those involving the offset parameters to sqlite3OsRead() and sqlite3OsWrite() or having operands pageSize or szPage to make sure that 32x32-bit multiplicates that intend to yield a 64-bit result do not instead truncate to 32-bits.

  4. OMIT, ENABLE, and DISABLE options:
    1. tclsh ../tool/omittest.tcl -skip_run

  5. Tests for platform Linux x86:
    1. tclsh releasetest.tcl
    2. tclsh th3make cov.rc (verify 100% branch test coverage)
    3. tclsh fulltest.tcl fast.rc test.rc
    4. tclsh th3make fast-ex.rc
    5. At least one of the above using GCC 4.1.0
    6. At least one of the above using GCC 4.4.1

  6. Tests for platform Linux x86_64:
    1. tclsh th3make cov.rc (verify 100% branch test coverage)
    2. tclsh releasetest.tcl
    3. tclsh fulltest.tcl fast.rc test.rc
    4. tclsh th3make memdebug.rc
    5. tclsh th3make test-ex.rc

  7. Tests for platform Mac OS-X x86:
    1. tclsh releasetest.tcl
    2. tclsh fulltest.tcl fast.rc test.rc
    3. tclsh th3make test.rc CC=clang

  8. Tests for platform Mac OS-X PPC:
    1. tclsh th3make -Os min.rc

  9. Tests for platform Win32/64:
    1. make test
    2. th3make test.rc
    3. th3make fast.rc
    4. At least one of the above using MinGW
    5. At least one of the above using MSVC-32
    6. At least one of the above using MSVC-64

  10. Tests for platform Android:
    1. th3make -Os min.rc

  11. Tests for platform OpenBSD x86:
    1. make test
    2. th3make -Os min.rc

  12. Tests for platform Solaris Sparc:
    1. make test
    2. th3make test.rc
    3. th3make fast.rc

  13. Other test performed on any available platform:
    1. th3make alignment2.rc test.rc
    2. th3make test.rc -DHAVE_LOCALTIME_R
    3. th3make test.rc -DSQLITE_THREADSAFE=0
    4. th3make test.rc -ftrapv
    5. th3make test.rc -DSQLITE_MAX_ATTACHED=62
    6. th3make min.rc -Os; valgrind ./th3
    7. valgrind testfixture permutations.test valgrind

  14. Sqllogictest:
    1. Checked in latest SQLite amalgamation
    2. No compiler warnings
    3. run-all.sh with no errors
    4. run-all.bat with no errors

  15. Build using the configure/make in main source tree.
    1. Make sure that autoconf has been run to update the configure script.
    2. Run "make test" to verify that the build works.
    3. Verify the correct version numbers have been installed.
    4. Verify that the --disable-amalgamation option to configure works.
    5. Works on Linux
    6. Works on Mac
    7. Works on OpenBSD
    8. Works on Solaris

  16. Exported symbol checks: tool/symbols.sh
    1. No private symbols exported. (This is also checked by releasetest.tcl)
    2. No undesirable library dependencies
    3. No private symbols exported in MinGW (check using tool/symbols-mingw.sh)
    4. No undesirable library dependencies on MinGW

  17. Fossil updated to use the latest SQLite.
    1. No compiler warnings
    2. Fossil test suite passes
    3. Used on active websites with no issues

  18. Firefox recompiled using lastest SQLite.
    1. No SQLite compiler warnings
    2. Active use with no issues noted

  19. CEROD tests in the test/ subdirectory.
  20. SEE tests using TH3:
    1. see.c
    2. see-aes128-ofb.c
    3. see-aes256-ofb.c
    4. see-rc4.c
    5. see-aes128-ccm.c
    6. At least one of the above using test.rc
    7. At least one of the above using memdebug.rc
    8. At least one of the above on Linux
    9. At least one of the above on Mac
    10. At least one of the above on Windows

  21. ZIPVFS tests:
    1. testfixture ../zipvfs/test/zipvfs.test (See test/README.txt in the ZIPVFS source tree for details.)
    2. th3make zipvfs.rc test.rc
    3. th3make zipvfs.rc memdebug.rc
    4. th3make zipvfs.rc min.rc; valgrind ./th3
    5. At least one of the above on Linux
    6. At least one of the above on Mac
    7. At least one of the above on Windows

  22. NX-Devkit release checklist completed.
  23. Amalgamation autoconf tarball.
    1. Builds
    2. Works on Linux
    3. Works on Mac

  24. TEA archive builds correctly and runs:
    1. Linux
    2. Mac

  25. Run performance tests comparing the new SQLite release against the previous version. Verify no performance regressions.
    1. The TCL speed*.test scripts
    2. The TH3 speed tests
    3. sqlite3 sqlite.fossil .dump >speed-c.sql
      fossil timeline -R sqlite.fossil -n 300 -sqltrace 2>>speed-c.sql
      fossil rebuild sqlite.fossil -sqltrace 2>>speed-c.sql

  26. Verify that the amalgamation builds are byte-for-byte identical on all workstation platforms.
    1. linux x86
    2. linux x64
    3. mac leopard
    4. mac snow-leopard
    5. openbsd
    6. windows native mingw
    7. windows nmake
    8. any unix using autoconf

  27. Verify that databases (including FTS3 and RTREE databases), rollback journals, and WAL files created by the release candidate are readable and writeable by historical versions of SQLite (as long as no unsupported features are used) and vice versa.
  28. Cross-platform tests. Verify the ability of databases, WAL files, and rollback journals to be copied and used between 32-bit and 64-bit systems and between big-endian and little-endian systems.
    1. 32-big to 64-little, database
    2. 32-big to 64-little, WAL
    3. 32-big to 64-little, rollback
    4. 64-little to 32-little, database
    5. 64-little to 32-little, WAL
    6. 64-little to 32-little, rollback
    7. 32-little to 32-big, database
    8. 32-little to 32-big, WAL
    9. 32-little to 32-big, rollback
    10. 64-little to 32-big, SEE database
    11. 64-little to 32-big, ZIPVFS database
    12. 64-little to 32-big, CEROD database

  29. Build and verify correct operation of sqlite3_analyzer on:
    1. Linux
    2. Mac
    3. OpenBSD
    4. Win32 (MinGW)
    5. Win32 (MSVC) and verify correct output.

  30. Tests for the sessions branch with macros SQLITE_ENABLE_SESSION and SQLITE_ENABLE_PREUPDATE_HOOK
    1. tclsh th3make test.rc (on windows)
    2. tclsh th3make test.rc (on unix)
    3. tclsh th3make cov.rc
    4. tclsh th3make min.rc -norun; valgrind ./th3
    5. make test (on windows)
    6. make test (on unix)

  31. The apple-osx branch is merged with trunk and basic tests work. This is a separate unreleased branch and is not expected to pass all tests.
  32. System.Data.SQLite builds and checks out using the SQLite core
  33. Verify that all branches that are no longer active have been closed.
  34. Verify that the bug response checklist has been completed for all bugs found since the previous release.
  35. Verify that the new feature checklist has been completed for all enhancements made since the previous release.