mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Sandbox2: Mark tests that won't run under QEMU user emulation
PiperOrigin-RevId: 412861975 Change-Id: I0f168bc71b5738ed55b836f148ded94bf397d27d
This commit is contained in:
parent
c2b7cffe78
commit
85a463372f
|
@ -78,6 +78,7 @@ cc_test(
|
||||||
name = "syscall_test",
|
name = "syscall_test",
|
||||||
srcs = ["syscall_test.cc"],
|
srcs = ["syscall_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":syscall",
|
":syscall",
|
||||||
"//sandboxed_api:config",
|
"//sandboxed_api:config",
|
||||||
|
@ -589,6 +590,7 @@ cc_test(
|
||||||
srcs = ["buffer_test.cc"],
|
srcs = ["buffer_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:buffer"],
|
data = ["//sandboxed_api/sandbox2/testcases:buffer"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":buffer",
|
":buffer",
|
||||||
":comms",
|
":comms",
|
||||||
|
@ -664,6 +666,7 @@ cc_test(
|
||||||
srcs = ["forkserver_test.cc"],
|
srcs = ["forkserver_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:minimal"],
|
data = ["//sandboxed_api/sandbox2/testcases:minimal"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":comms",
|
":comms",
|
||||||
":forkserver",
|
":forkserver",
|
||||||
|
@ -702,6 +705,7 @@ cc_test(
|
||||||
"//sandboxed_api/sandbox2/testcases:personality",
|
"//sandboxed_api/sandbox2/testcases:personality",
|
||||||
"//sandboxed_api/sandbox2/testcases:pidcomms",
|
"//sandboxed_api/sandbox2/testcases:pidcomms",
|
||||||
],
|
],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":comms",
|
":comms",
|
||||||
":regs",
|
":regs",
|
||||||
|
@ -725,6 +729,7 @@ cc_test(
|
||||||
"//sandboxed_api/sandbox2/testcases:minimal_dynamic",
|
"//sandboxed_api/sandbox2/testcases:minimal_dynamic",
|
||||||
"//sandboxed_api/sandbox2/testcases:policy",
|
"//sandboxed_api/sandbox2/testcases:policy",
|
||||||
],
|
],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":limits",
|
":limits",
|
||||||
":regs",
|
":regs",
|
||||||
|
@ -749,7 +754,10 @@ cc_test(
|
||||||
"//sandboxed_api/sandbox2/testcases:starve",
|
"//sandboxed_api/sandbox2/testcases:starve",
|
||||||
"//sandboxed_api/sandbox2/testcases:tsync",
|
"//sandboxed_api/sandbox2/testcases:tsync",
|
||||||
],
|
],
|
||||||
tags = ["local"],
|
tags = [
|
||||||
|
"local",
|
||||||
|
"no_qemu_user_mode",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":sandbox2",
|
":sandbox2",
|
||||||
"//sandboxed_api:config",
|
"//sandboxed_api:config",
|
||||||
|
@ -767,6 +775,7 @@ cc_test(
|
||||||
srcs = ["sanitizer_test.cc"],
|
srcs = ["sanitizer_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:sanitizer"],
|
data = ["//sandboxed_api/sandbox2/testcases:sanitizer"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":comms",
|
":comms",
|
||||||
":sandbox2",
|
":sandbox2",
|
||||||
|
@ -802,6 +811,7 @@ cc_test(
|
||||||
],
|
],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:symbolize"],
|
data = ["//sandboxed_api/sandbox2/testcases:symbolize"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":global_forkserver",
|
":global_forkserver",
|
||||||
":mounts",
|
":mounts",
|
||||||
|
@ -825,6 +835,7 @@ cc_test(
|
||||||
srcs = ["ipc_test.cc"],
|
srcs = ["ipc_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:ipc"],
|
data = ["//sandboxed_api/sandbox2/testcases:ipc"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
deps = [
|
deps = [
|
||||||
":comms",
|
":comms",
|
||||||
":sandbox2",
|
":sandbox2",
|
||||||
|
@ -856,7 +867,10 @@ cc_test(
|
||||||
srcs = ["policybuilder_test.cc"],
|
srcs = ["policybuilder_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = ["//sandboxed_api/sandbox2/testcases:print_fds"],
|
data = ["//sandboxed_api/sandbox2/testcases:print_fds"],
|
||||||
tags = ["requires-net:external"],
|
tags = [
|
||||||
|
"no_qemu_user_mode",
|
||||||
|
"requires-net:external",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":comms",
|
":comms",
|
||||||
":sandbox2",
|
":sandbox2",
|
||||||
|
|
|
@ -59,7 +59,10 @@ cc_test(
|
||||||
srcs = ["crc4sandbox_test.cc"],
|
srcs = ["crc4sandbox_test.cc"],
|
||||||
copts = sapi_platform_copts(),
|
copts = sapi_platform_copts(),
|
||||||
data = [":crc4sandbox"],
|
data = [":crc4sandbox"],
|
||||||
tags = ["local"],
|
tags = [
|
||||||
|
"local",
|
||||||
|
"no_qemu_user_mode",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//sandboxed_api:testing",
|
"//sandboxed_api:testing",
|
||||||
"//sandboxed_api/sandbox2:util",
|
"//sandboxed_api/sandbox2:util",
|
||||||
|
|
|
@ -55,4 +55,5 @@ sh_test(
|
||||||
name = "custom_fork_sandbox_test",
|
name = "custom_fork_sandbox_test",
|
||||||
srcs = ["custom_fork_sandbox_test.sh"],
|
srcs = ["custom_fork_sandbox_test.sh"],
|
||||||
data = [":custom_fork_sandbox"],
|
data = [":custom_fork_sandbox"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -58,4 +58,5 @@ sh_test(
|
||||||
name = "network_sandbox_test",
|
name = "network_sandbox_test",
|
||||||
srcs = ["network_sandbox_test.sh"],
|
srcs = ["network_sandbox_test.sh"],
|
||||||
data = [":network_sandbox"],
|
data = [":network_sandbox"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -61,4 +61,5 @@ sh_test(
|
||||||
name = "networkproxy_sandbox_test",
|
name = "networkproxy_sandbox_test",
|
||||||
srcs = ["networkproxy_sandbox_test.sh"],
|
srcs = ["networkproxy_sandbox_test.sh"],
|
||||||
data = [":networkproxy_sandbox"],
|
data = [":networkproxy_sandbox"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -46,4 +46,5 @@ sh_test(
|
||||||
name = "sandbox2tool_test",
|
name = "sandbox2tool_test",
|
||||||
srcs = ["sandbox2tool_test.sh"],
|
srcs = ["sandbox2tool_test.sh"],
|
||||||
data = [":sandbox2tool"],
|
data = [":sandbox2tool"],
|
||||||
|
tags = ["no_qemu_user_mode"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user