summaryrefslogtreecommitdiffhomepage
path: root/test/runner
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2021-07-23 14:33:27 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-23 14:35:42 -0700
commitd2479383639ab15301c4535a91cbbbeb22635a7e (patch)
treefecfead59cfc796d71d2c78ead824d381908342b /test/runner
parent3d0a9300050ad9a72d452ec862827e35e3f38dcc (diff)
Add verity open benchmark test
PiperOrigin-RevId: 386533065
Diffstat (limited to 'test/runner')
-rw-r--r--test/runner/defs.bzl6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/runner/defs.bzl b/test/runner/defs.bzl
index 405e03832..05c75b130 100644
--- a/test/runner/defs.bzl
+++ b/test/runner/defs.bzl
@@ -135,6 +135,7 @@ def syscall_test(
add_overlay = False,
add_uds_tree = False,
add_hostinet = False,
+ vfs1 = True,
vfs2 = True,
fuse = False,
debug = True,
@@ -148,6 +149,7 @@ def syscall_test(
add_overlay: add an overlay test.
add_uds_tree: add a UDS test.
add_hostinet: add a hostinet test.
+ vfs1: enable VFS1 tests. Could be false only if vfs2 is true.
vfs2: enable VFS2 support.
fuse: enable FUSE support.
debug: enable debug output.
@@ -157,7 +159,7 @@ def syscall_test(
if not tags:
tags = []
- if vfs2 and not fuse:
+ if vfs2 and vfs1 and not fuse:
# Generate a vfs1 plain test. Most testing will now be
# biased towards vfs2, with only a single vfs1 case.
_syscall_test(
@@ -171,7 +173,7 @@ def syscall_test(
**kwargs
)
- if not fuse:
+ if vfs1 and not fuse:
# Generate a native test if fuse is not required.
_syscall_test(
test = test,