diff options
Diffstat (limited to 'test/runtimes/build_defs.bzl')
-rw-r--r-- | test/runtimes/build_defs.bzl | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/test/runtimes/build_defs.bzl b/test/runtimes/build_defs.bzl deleted file mode 100644 index 7edd12c17..000000000 --- a/test/runtimes/build_defs.bzl +++ /dev/null @@ -1,42 +0,0 @@ -"""Defines a rule for runsc test targets.""" - -# runtime_test is a macro that will create targets to run the given test target -# with different runtime options. -def runtime_test( - lang, - image, - shard_count = 50, - size = "enormous", - blacklist_file = ""): - args = [ - "--lang", - lang, - "--image", - image, - ] - data = [ - ":runner", - ] - if blacklist_file != "": - args += ["--blacklist_file", "test/runtimes/" + blacklist_file] - data += [blacklist_file] - - sh_test( - name = lang + "_test", - srcs = ["runner.sh"], - args = args, - data = data, - size = size, - shard_count = shard_count, - tags = [ - # Requires docker and runsc to be configured before the test runs. - "manual", - "local", - ], - ) - -def sh_test(**kwargs): - """Wraps the standard sh_test.""" - native.sh_test( - **kwargs - ) |