mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-10-05 15:56:52 +08:00
bump {libc,tcl} version, pass more darwin tests
This commit is contained in:
4
go.mod
4
go.mod
@@ -3,7 +3,7 @@ module modernc.org/sqlite
|
|||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
modernc.org/libc v0.0.0-20201228170930-fdf284ea457b
|
modernc.org/libc v0.0.0-20201230103131-0bb20a0a77f0
|
||||||
modernc.org/mathutil v1.2.1
|
modernc.org/mathutil v1.2.1
|
||||||
modernc.org/tcl v0.0.0-20201228171245-bb1be868bd9c
|
modernc.org/tcl v0.0.0-20201230103751-6cdf2a1035d8
|
||||||
)
|
)
|
||||||
|
8
go.sum
8
go.sum
@@ -7,13 +7,13 @@ golang.org/x/sys v0.0.0-20201126233918-771906719818 h1:f1CIuDlJhwANEC2MM87MBEVMr
|
|||||||
golang.org/x/sys v0.0.0-20201126233918-771906719818/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20201126233918-771906719818/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
modernc.org/httpfs v1.0.2 h1:4aw8F68gTwx7FWL/vEMjm/XaPwPL16MItkF/P9ziEPY=
|
modernc.org/httpfs v1.0.2 h1:4aw8F68gTwx7FWL/vEMjm/XaPwPL16MItkF/P9ziEPY=
|
||||||
modernc.org/httpfs v1.0.2/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM=
|
modernc.org/httpfs v1.0.2/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM=
|
||||||
modernc.org/libc v0.0.0-20201228170930-fdf284ea457b h1:5CNy9tMLud8qcoUQqyyhZL8XLtb8jgJq0/t1oY1Sefk=
|
modernc.org/libc v0.0.0-20201230103131-0bb20a0a77f0 h1:qHppwIBsGvr1jP+xXoXiCHFia2HICvnWaT364g4caUo=
|
||||||
modernc.org/libc v0.0.0-20201228170930-fdf284ea457b/go.mod h1:IR66laG5b3bONN1tfix3Gpy8xk/6WDf+Rtc4NqNczls=
|
modernc.org/libc v0.0.0-20201230103131-0bb20a0a77f0/go.mod h1:IR66laG5b3bONN1tfix3Gpy8xk/6WDf+Rtc4NqNczls=
|
||||||
modernc.org/mathutil v1.1.1 h1:FeylZSVX8S+58VsyJlkEj2bcpdytmp9MmDKZkKx8OIE=
|
modernc.org/mathutil v1.1.1 h1:FeylZSVX8S+58VsyJlkEj2bcpdytmp9MmDKZkKx8OIE=
|
||||||
modernc.org/mathutil v1.1.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
modernc.org/mathutil v1.1.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||||
modernc.org/mathutil v1.2.1 h1:PSIN4RdyeB6MbFsNLSkFCzDjnEVEMS3H/hFHcJtAJ9g=
|
modernc.org/mathutil v1.2.1 h1:PSIN4RdyeB6MbFsNLSkFCzDjnEVEMS3H/hFHcJtAJ9g=
|
||||||
modernc.org/mathutil v1.2.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
modernc.org/mathutil v1.2.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||||
modernc.org/memory v1.0.1 h1:bhVo78NAdgvRD4N+b2hGnAwL5RP2+QyiEJDsX3jpeDA=
|
modernc.org/memory v1.0.1 h1:bhVo78NAdgvRD4N+b2hGnAwL5RP2+QyiEJDsX3jpeDA=
|
||||||
modernc.org/memory v1.0.1/go.mod h1:NSjvC08+g3MLOpcAxQbdctcThAEX4YlJ20WWHYEhvRg=
|
modernc.org/memory v1.0.1/go.mod h1:NSjvC08+g3MLOpcAxQbdctcThAEX4YlJ20WWHYEhvRg=
|
||||||
modernc.org/tcl v0.0.0-20201228171245-bb1be868bd9c h1:JQA7wpqT52VYS8yyLkUdE65adr15VJVYAKTnYCcBkME=
|
modernc.org/tcl v0.0.0-20201230103751-6cdf2a1035d8 h1:E9WLsh7FVD57ot68rCQGuKV0X4tqQa4q6UVVFnsgYRo=
|
||||||
modernc.org/tcl v0.0.0-20201228171245-bb1be868bd9c/go.mod h1:KliGvDqrqb3InpYXD+SjW78Pr4RGeru4jUdCfrnxJaI=
|
modernc.org/tcl v0.0.0-20201230103751-6cdf2a1035d8/go.mod h1:tGuLIyS4d0m1Y2U9nHnkBBcxELi/XCCJ9s4GFnPJUPo=
|
||||||
|
42
tcl_test.go
42
tcl_test.go
@@ -34,6 +34,47 @@ func TestTclTest(t *testing.T) {
|
|||||||
// # this test.
|
// # this test.
|
||||||
blacklist["bigsort.test"] = struct{}{}
|
blacklist["bigsort.test"] = struct{}{}
|
||||||
}
|
}
|
||||||
|
switch runtime.GOOS {
|
||||||
|
case "darwin":
|
||||||
|
for _, v := range []string{
|
||||||
|
"avtrans.test",
|
||||||
|
"busy2.test",
|
||||||
|
"crash5.test",
|
||||||
|
"exists.test",
|
||||||
|
"lock2.test",
|
||||||
|
"mmap1.test",
|
||||||
|
"mmap4.test",
|
||||||
|
"multiplex2.test",
|
||||||
|
"pager1.test",
|
||||||
|
"pagerfault.test",
|
||||||
|
"pragma3.test",
|
||||||
|
"rowallock.test",
|
||||||
|
"rtree.test",
|
||||||
|
"savepoint.test",
|
||||||
|
"schema3.test",
|
||||||
|
"shared2.test",
|
||||||
|
"shared9.test",
|
||||||
|
"superlock.test",
|
||||||
|
"symlink.test",
|
||||||
|
"syscall.test",
|
||||||
|
"tkt-5d863f876e.test",
|
||||||
|
"tkt-fc62af4523.test",
|
||||||
|
"tkt4018.test",
|
||||||
|
"unixexcl.test",
|
||||||
|
"wal.test",
|
||||||
|
"wal3.test",
|
||||||
|
"wal5.test",
|
||||||
|
"walcrash2.test",
|
||||||
|
"walro.test",
|
||||||
|
"walro2.test",
|
||||||
|
"walsetlk.test",
|
||||||
|
"walslow.test",
|
||||||
|
"writecrash.test",
|
||||||
|
} {
|
||||||
|
blacklist[v] = struct{}{}
|
||||||
|
t.Errorf("%v: crashes, disabled", v)
|
||||||
|
}
|
||||||
|
}
|
||||||
m, err := filepath.Glob(filepath.FromSlash("testdata/tcl/*"))
|
m, err := filepath.Glob(filepath.FromSlash("testdata/tcl/*"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
@@ -84,6 +125,7 @@ func TestTclTest(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := ioutil.WriteFile(d, f, 0660); err != nil {
|
if err := ioutil.WriteFile(d, f, 0660); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
1374
testdata/testlog-darwin-amd64
vendored
1374
testdata/testlog-darwin-amd64
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user