mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-07 00:33:37 +08:00
Partially fix TestThread4.
modified: generator.go modified: internal/sqlite.org/sqlite-src-3190300/test/threadtest1.c new file: internal/sqlite.org/sqlite-src-3190300/test/threadtest4.c modified: internal/threadtest1/threadtest1_linux_amd64.go modified: internal/threadtest4/threadtest4_linux_amd64.go modified: z_linux_test.go
This commit is contained in:
@@ -197,7 +197,6 @@ func TestThread3(t *testing.T) {
|
||||
{"stress2"},
|
||||
} {
|
||||
out, err := exec.Command("./threadtest3", opts...).CombinedOutput()
|
||||
dbg("%v\n%s", opts, out)
|
||||
t.Logf("%v\n%s", opts, out)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -258,7 +257,6 @@ func TestThread4(t *testing.T) {
|
||||
{"--multithread", "-serialized", "-wal"},
|
||||
} {
|
||||
out, err := exec.Command("./threadtest4", append(opts, "5")...).CombinedOutput()
|
||||
dbg("%v\n%s", opts, out)
|
||||
t.Logf("%v\n%s", opts, out)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user