summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/runner/lib/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/runtimes/runner/lib/lib.go')
-rw-r--r--test/runtimes/runner/lib/lib.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/runtimes/runner/lib/lib.go b/test/runtimes/runner/lib/lib.go
index 64e6e14db..2f1083baf 100644
--- a/test/runtimes/runner/lib/lib.go
+++ b/test/runtimes/runner/lib/lib.go
@@ -122,6 +122,10 @@ func getTests(ctx context.Context, d *dockerutil.Container, lang, image string,
}
tcs = append(tcs, tests[tc])
}
+ if len(tcs) == 0 {
+ // No tests to add to this batch.
+ continue
+ }
itests = append(itests, testing.InternalTest{
Name: strings.Join(tcs, ", "),
F: func(t *testing.T) {