Commit 2491c1ae authored by cznic's avatar cznic
Browse files

575 errors out of 200676 tests on Linux 64-bit little-endian

All memory allocations freed - no leaks
parent b406626c
......@@ -790,27 +790,16 @@ func TestNoRows(t *testing.T) {
func TestTclTest(t *testing.T) {
blacklist := []string{
//TODO crashers
"exists.test",
"index.test",
// "mallocK.test",
"misc1.test",
"quota2.test",
// "sortfault.test",
// "swarmvtabfault.test",
"printf.test", // scanf
//TODO needs fork
"exists.test",
"multiplex2.test",
"symlink.test",
"pager1.test",
"printf.test",
// "walfault.test",
// "walfault2.test",
// "walhook.test",
// "walmode.test",
// "walnoshm.test",
// "waloverwrite.test",
// "walvfs.test",
"rowallock.test",
"savepoint.test",
"schema2.test",
"schema3.test",
"shared2.test",
"superlock.test",
......@@ -824,36 +813,15 @@ func TestTclTest(t *testing.T) {
"walro2.test",
"walsetlk.test",
// // Needs fork.
// "crash.test",
// "crash1.test",
// "crash2.test",
// "crash3.test",
// "crash4.test",
// "crash6.test",
// "crash7.test",
// "malloc.test",
// "mmap1.test",
// "mmap3.test",
// "mmap4.test",
// "pagerfault.test",
// "tkt-54844eea3f.test",
// "wal3.test",
// "walslow.test",
// //TODO needs fts_open
// "misc7.test",
//TODO exits tests
"index.test",
//TODO hangs
"corruptL.test",
"e_walckpt.test",
"gencol1.test",
// "savepoint4.test",
//TODO OOM
"csv01.test",
// //TODO scanf
}
if testing.Short() {
blacklist = append(blacklist, []string{
......@@ -863,6 +831,7 @@ func TestTclTest(t *testing.T) {
"backup_ioerr.test",
"backup_malloc.test",
"corruptC.test",
"e_walckpt.test",
"fkey_malloc.test",
"fuzz.test",
"fuzz3.test",
......
......@@ -24,30 +24,30 @@ var (
config = []string{
"-DHAVE_USLEEP",
"-DLONGDOUBLE_TYPE=double",
//TODO- "-DSQLITE_DEBUG", //TODO-
"-DSQLITE_DEFAULT_MEMSTATUS=0",
"-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1",
"-DSQLITE_DQS=0",
//TODO- "-DSQLITE_ENABLE_API_ARMOR", //TODO-
"-DSQLITE_ENABLE_UNLOCK_NOTIFY", // Adds sqlite3_unlock_notify().
"-DSQLITE_LIKE_DOESNT_MATCH_BLOBS",
"-DSQLITE_MAX_EXPR_DEPTH=0",
//TODO 386 "-DSQLITE_MAX_MMAP_SIZE=0", // mmap somehow fails on linux/386
//TODO- "-DSQLITE_MEMDEBUG", //TODO-
"-DSQLITE_MUTEX_APPDEF=1",
"-DSQLITE_MUTEX_NOOP",
"-DSQLITE_OMIT_DECLTYPE",
"-DSQLITE_OMIT_PROGRESS_CALLBACK",
"-DSQLITE_OMIT_UTF16",
"-DSQLITE_TEST",
"-DSQLITE_THREADSAFE=2", // Multi-thread
"-ccgo-long-double-is-double",
//TODO- "-ccgo-verify-structs", //TODO-
// "-DSQLITE_OMIT_DECLTYPE", // testfixture needs this
// "-DSQLITE_OMIT_DEPRECATED", // mptest needs deprecated sqlite3_trace.
// "-DSQLITE_OMIT_LOAD_EXTENSION", // mptest needs this
// "-DSQLITE_OMIT_SHARED_CACHE",
// "-DSQLITE_USE_ALLOCA",
//TODO "-DHAVE_MALLOC_USABLE_SIZE"
//TODO 386 "-DSQLITE_MAX_MMAP_SIZE=0", // mmap somehow fails on linux/386
//TODO- "-DSQLITE_DEBUG", //TODO-
//TODO- "-DSQLITE_ENABLE_API_ARMOR", //TODO-
//TODO- "-DSQLITE_MEMDEBUG", //TODO-
//TODO- "-ccgo-verify-structs", //TODO-
}
downloads = []struct {
......
......@@ -3,7 +3,7 @@ module modernc.org/sqlite
go 1.14
require (
modernc.org/crt/v3 v3.24.0
modernc.org/crt/v3 v3.24.6
modernc.org/mathutil v1.0.0
modernc.org/tcl v1.0.0-beta1
modernc.org/tcl v1.0.1-beta1
)
......@@ -5,13 +5,13 @@ github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uY
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4=
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
modernc.org/crt/v3 v3.24.0 h1:b/IRIARzzmgupViOiXUEgiTTQ7ulb3k1S6pKq3zTGBo=
modernc.org/crt/v3 v3.24.0/go.mod h1:jZ0M2dvOLID7IgZPGZ189WFLj+m5qEACQm84BoFsHF4=
modernc.org/crt/v3 v3.24.6 h1:GKQR9pBq9kutl8jxlWXux78XZ53b8AQI/1w2K5Me2Pw=
modernc.org/crt/v3 v3.24.6/go.mod h1:jZ0M2dvOLID7IgZPGZ189WFLj+m5qEACQm84BoFsHF4=
modernc.org/httpfs v1.0.0 h1:LtuKNg6JMiaBKVQHKd6Phhvk+2GFp+pUcmDQgRjrds0=
modernc.org/httpfs v1.0.0/go.mod h1:BSkfoMUcahSijQD5J/Vu4UMOxzmEf5SNRwyXC4PJBEw=
modernc.org/mathutil v1.0.0 h1:93vKjrJopTPrtTNpZ8XIovER7iCIH1QU7wNbOQXC60I=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
modernc.org/memory v1.0.0 h1:Tm1p6vBp/U/SGR9/EeFhMvGzaVpUWeePopZhhIpW2YE=
modernc.org/memory v1.0.0/go.mod h1:TXr4iJDvK3g0hW+sV+Kohu7BoeHfqw7QEFZWkBExdZc=
modernc.org/tcl v1.0.0-beta1 h1:E1tV71Uzw2RZ+WYxYZTjAwBJ4BjlemS5uzYIY1DZ04E=
modernc.org/tcl v1.0.0-beta1/go.mod h1:DQHEYsHSJH562vT1LaSpsZ6sR0hjSGddbYms0fLmOGA=
modernc.org/tcl v1.0.1-beta1 h1:gbu1D0lSgqGopA6exJBYQss2CfpgdiKy8GzCYQUGqfE=
modernc.org/tcl v1.0.1-beta1/go.mod h1:y63wARnVYP+cPK5skKN9IpuZW6VYCdciAPSk8mVWNAY=
// Code generated by 'ccgo -o internal/mptest/main_linux_amd64.go testdata/sqlite-src-3320300/mptest/mptest.c -Itestdata/sqlite-amalgamation-3320300 -l modernc.org/sqlite/lib -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
// Code generated by 'ccgo -o internal/mptest/main_linux_amd64.go testdata/sqlite-src-3320300/mptest/mptest.c -Itestdata/sqlite-amalgamation-3320300 -l modernc.org/sqlite/lib -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
package main
......
This source diff could not be displayed because it is too large. You can view the blob instead.
// Code generated by 'ccgo -DSQLITE_PRIVATE= -ccgo-export-defines -ccgo-export-externs X -ccgo-export-fields F -ccgo-export-typedefs -ccgo-pkgname sqlite3 -o lib/sqlite_linux_amd64.go testdata/sqlite-amalgamation-3320300/sqlite3.c -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
// Code generated by 'ccgo -DSQLITE_PRIVATE= -ccgo-export-defines -ccgo-export-externs X -ccgo-export-fields F -ccgo-export-typedefs -ccgo-pkgname sqlite3 -o lib/sqlite_linux_amd64.go testdata/sqlite-amalgamation-3320300/sqlite3.c -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
package sqlite3
......@@ -964,6 +964,7 @@ var CAPI = map[string]struct{}{
"sqlite3_column_bytes": {},
"sqlite3_column_bytes16": {},
"sqlite3_column_count": {},
"sqlite3_column_decltype": {},
"sqlite3_column_double": {},
"sqlite3_column_int": {},
"sqlite3_column_int64": {},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
// Code generated by 'ccgo -o speedtest1/main_linux_amd64.go testdata/sqlite-src-3320300/test/speedtest1.c -Itestdata/sqlite-amalgamation-3320300 -l modernc.org/sqlite/lib -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
// Code generated by 'ccgo -o speedtest1/main_linux_amd64.go testdata/sqlite-src-3320300/test/speedtest1.c -Itestdata/sqlite-amalgamation-3320300 -l modernc.org/sqlite/lib -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_DQS=0 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_UTF16 -DSQLITE_TEST -DSQLITE_THREADSAFE=2 -ccgo-long-double-is-double', DO NOT EDIT.
package main
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment