summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-05 11:34:09 -0800
committergVisor bot <gvisor-bot@google.com>2020-03-05 11:34:09 -0800
commitb1576e533223e98ebe4bd1b82b04e3dcda8c4bf1 (patch)
treeea8fe88107d6b01415cf6f243377941e55ee16f4 /test
parent80b40bbb06f3c9ca23e3ad152b481ab222ec0e47 (diff)
parent36b193b1db60cad3c1c65ce3abef03a6a0594e3e (diff)
Merge pull request #2036 from xiaobo55x:syscall_test
PiperOrigin-RevId: 299151227
Diffstat (limited to 'test')
-rw-r--r--test/syscalls/linux/BUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index dae2b1077..0fbd556de 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -603,7 +603,10 @@ cc_binary(
cc_binary(
name = "exceptions_test",
testonly = 1,
- srcs = ["exceptions.cc"],
+ srcs = select_arch(
+ amd64 = ["exceptions.cc"],
+ arm64 = [],
+ ),
linkstatic = 1,
deps = [
gtest,
@@ -1470,7 +1473,10 @@ cc_binary(
cc_binary(
name = "arch_prctl_test",
testonly = 1,
- srcs = ["arch_prctl.cc"],
+ srcs = select_arch(
+ amd64 = ["arch_prctl.cc"],
+ arm64 = [],
+ ),
linkstatic = 1,
deps = [
"//test/util:file_descriptor",
@@ -3317,7 +3323,10 @@ cc_binary(
cc_binary(
name = "sysret_test",
testonly = 1,
- srcs = ["sysret.cc"],
+ srcs = select_arch(
+ amd64 = ["sysret.cc"],
+ arm64 = [],
+ ),
linkstatic = 1,
deps = [
gtest,