summaryrefslogtreecommitdiffhomepage
path: root/test/runner/defs.bzl
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2020-09-14 15:32:46 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:22:17 -0700
commitf148242abab1ff043428036ccaf464de98268863 (patch)
tree1e57aea21f2fe0cfaf7031d6fa4b9f2fb3b0aa8c /test/runner/defs.bzl
parent113928754c26ea3d4d7d387bae459ce447774d30 (diff)
Revert "fuse: add benchmarking support for FUSE"
test/fuse/benchmark/read_benchmark.cc:34: Failure Expected: (fuse_prefix) != (nullptr), actual: NULL vs (nullptr) external/com_google_benchmark/src/benchmark_runner.cc:120: RunInThread: Check `st.iterations() >= st.max_iterations' failed. Benchmark returned before State::KeepRunning() returned false! --- FAIL: Benchmarks_BM_Read/262144/real_time (0.29s) runner.go:502: test "Benchmarks.BM_Read/262144/real_time" failed with error exit status 134, want nil FAIL
Diffstat (limited to 'test/runner/defs.bzl')
-rw-r--r--test/runner/defs.bzl28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/runner/defs.bzl b/test/runner/defs.bzl
index 9dc955c77..032ebd04e 100644
--- a/test/runner/defs.bzl
+++ b/test/runner/defs.bzl
@@ -57,8 +57,6 @@ def _syscall_test(
platform,
use_tmpfs,
tags,
- use_image = "",
- setup_command = "",
network = "none",
file_access = "exclusive",
overlay = False,
@@ -81,8 +79,6 @@ def _syscall_test(
name += "_fuse"
if network != "none":
name += "_" + network + "net"
- if use_image != "":
- name += "_container"
# Apply all tags.
if tags == None:
@@ -111,8 +107,6 @@ def _syscall_test(
"--platform=" + platform,
"--network=" + network,
"--use-tmpfs=" + str(use_tmpfs),
- "--use-image=" + use_image,
- "--setup-command=" + setup_command,
"--file-access=" + file_access,
"--overlay=" + str(overlay),
"--add-uds-tree=" + str(add_uds_tree),
@@ -138,8 +132,6 @@ def syscall_test(
shard_count = 5,
size = "small",
use_tmpfs = False,
- use_image = "",
- setup_command = "",
add_overlay = False,
add_uds_tree = False,
add_hostinet = False,
@@ -154,8 +146,6 @@ def syscall_test(
shard_count: shards for defined tests.
size: the defined test size.
use_tmpfs: use tmpfs in the defined tests.
- use_image: use specified docker image in the defined tests.
- setup_command: command to set up the docker container. Should be used when ise_image is.
add_overlay: add an overlay test.
add_uds_tree: add a UDS test.
add_hostinet: add a hostinet test.
@@ -188,26 +178,8 @@ def syscall_test(
vfs2 = True,
fuse = fuse,
)
-
- if use_image != "":
- # Run the test in the container specified.
- _syscall_test(
- test = test,
- shard_count = shard_count,
- size = size,
- platform = default_platform,
- use_tmpfs = use_tmpfs,
- use_image = use_image,
- setup_command = setup_command,
- add_uds_tree = add_uds_tree,
- tags = platforms[default_platform] + vfs2_tags,
- vfs2 = True,
- fuse = True,
- )
-
if fuse:
# Only generate *_vfs2_fuse target if fuse parameter is enabled.
- # The rest of the targets don't support FUSE as of yet.
return
_syscall_test(