aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlite3_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go
index bfed027..b295ddd 100644
--- a/sqlite3_test.go
+++ b/sqlite3_test.go
@@ -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.Fatal("A subtest failed")
+ }
if !testing.Short() {
for _, b := range benchmarks {