forked from mirror/go-sqlite3
Actually check the value of RunTests
This commit is contained in:
parent
6de94b0b99
commit
25a6a28602
|
@ -1731,7 +1731,10 @@ func TestSuite(t *testing.T) {
|
||||||
defer d.Close()
|
defer d.Close()
|
||||||
|
|
||||||
db = &TestDB{t, d, SQLITE, sync.Once{}}
|
db = &TestDB{t, d, SQLITE, sync.Once{}}
|
||||||
testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests)
|
ok := testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests)
|
||||||
|
if !ok {
|
||||||
|
t.Fail()
|
||||||
|
}
|
||||||
|
|
||||||
if !testing.Short() {
|
if !testing.Short() {
|
||||||
for _, b := range benchmarks {
|
for _, b := range benchmarks {
|
||||||
|
|
Loading…
Reference in New Issue