Actually check the value of RunTests

This commit is contained in:
Frederick Akalin 2018-09-22 11:19:09 -07:00
parent 6de94b0b99
commit 25a6a28602
1 changed files with 4 additions and 1 deletions

View File

@ -1731,7 +1731,10 @@ func TestSuite(t *testing.T) {
defer d.Close()
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() {
for _, b := range benchmarks {