1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Enable threadsafe builds by default in configure. Ticket #2606.

Changes to test scripts to do better testing under all configurations. (CVS 4379)

FossilOrigin-Name: d66e08fd4f12407e565dc9fc53a5802216808378
This commit is contained in:
drh
2007-09-03 16:12:09 +00:00
parent 4753889c55
commit 5a3032b3e2
18 changed files with 88 additions and 68 deletions

View File

@ -9,18 +9,18 @@
#
#***********************************************************************
#
# $Id: vtab_err.test,v 1.7 2007/08/29 12:31:29 danielk1977 Exp $
# $Id: vtab_err.test,v 1.8 2007/09/03 16:12:10 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
source $testdir/malloc_common.tcl
ifcapable !vtab {
finish_test
return
}
unset -nocomplain echo_module_begin_fail
do_ioerr_test vtab_err-1 -tclprep {
register_echo_module [sqlite3_connection_pointer db]
@ -40,6 +40,14 @@ do_ioerr_test vtab_err-1 -tclprep {
COMMIT;
}
ifcapable !memdebug {
puts "Skipping vtab_err-2 tests: not compiled with -DSQLITE_MEMDEBUG..."
finish_test
return
}
source $testdir/malloc_common.tcl
do_malloc_test vtab_err-2 -tclprep {
register_echo_module [sqlite3_connection_pointer db]
} -sqlbody {