Activate testing of mem3 and mem5. Fix problems found. Tickets #3223
and #3225. Other test configuration changes. (CVS 5419) FossilOrigin-Name: a3a7820540f6f2285e6c83cac84383fc7d60d267
This commit is contained in:
+2
-1
@@ -14,7 +14,7 @@
|
||||
# segfault if it sees a corrupt database file. It specifically focuses
|
||||
# on corruption in the form of duplicate entries no the freelist.
|
||||
#
|
||||
# $Id: corrupt9.test,v 1.1 2008/07/11 03:34:10 drh Exp $
|
||||
# $Id: corrupt9.test,v 1.2 2008/07/16 12:25:32 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -54,6 +54,7 @@ proc corrupt_freelist {filename N} {
|
||||
#
|
||||
do_test corrupt9-1.1 {
|
||||
execsql {
|
||||
PRAGMA auto_vacuum=NONE;
|
||||
PRAGMA page_size=1024;
|
||||
CREATE TABLE t1(x);
|
||||
INSERT INTO t1(x) VALUES(1);
|
||||
|
||||
+6
-4
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# Test scripts for deliberate failures of mutex routines.
|
||||
#
|
||||
# $Id: mutex2.test,v 1.6 2008/07/14 12:52:53 drh Exp $
|
||||
# $Id: mutex2.test,v 1.7 2008/07/16 12:25:32 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -60,9 +60,11 @@ ifcapable utf16 {
|
||||
do_test mutex2-2.4 {
|
||||
sqlite3_mprintf_int {This is a test %d,%d,%d} 1 2 3
|
||||
} {}
|
||||
do_test mutex2-2.5 {
|
||||
sqlite3_auto_extension_sqr
|
||||
} {7}
|
||||
ifcapable load_ext {
|
||||
do_test mutex2-2.5 {
|
||||
sqlite3_auto_extension_sqr
|
||||
} {7}
|
||||
}
|
||||
do_test mutex2-2.6 {
|
||||
sqlite3_reset_auto_extension
|
||||
} {}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: permutations.test,v 1.12 2008/07/14 19:39:17 drh Exp $
|
||||
# $Id: permutations.test,v 1.13 2008/07/16 12:25:32 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -361,7 +361,7 @@ ifcapable mem3 {
|
||||
catch {db close}
|
||||
sqlite3_reset_auto_extension
|
||||
sqlite3_shutdown
|
||||
sqlite3_config_heap 1000000 0
|
||||
sqlite3_config_heap 25000000 0
|
||||
install_malloc_faultsim 1
|
||||
sqlite3_initialize
|
||||
autoinstall_test_functions
|
||||
@@ -389,7 +389,7 @@ ifcapable mem5 {
|
||||
catch {db close}
|
||||
sqlite3_reset_auto_extension
|
||||
sqlite3_shutdown
|
||||
sqlite3_config_heap 1000000 64
|
||||
sqlite3_config_heap 25000000 64
|
||||
install_malloc_faultsim 1
|
||||
sqlite3_initialize
|
||||
autoinstall_test_functions
|
||||
@@ -410,7 +410,7 @@ ifcapable mem5 {
|
||||
catch {db close}
|
||||
sqlite3_reset_auto_extension
|
||||
sqlite3_shutdown
|
||||
sqlite3_config_heap 250000 16
|
||||
sqlite3_config_heap 40000000 16
|
||||
install_malloc_faultsim 1
|
||||
sqlite3_initialize
|
||||
autoinstall_test_functions
|
||||
|
||||
Reference in New Issue
Block a user