mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Define name earlier
PiperOrigin-RevId: 228805981 Change-Id: I4f4c4a5d8de325dff38f6dfb92108fc848d823fd
This commit is contained in:
@@ -13,6 +13,8 @@ def _syscall_test(test, shard_count, size, platform):
|
||||
# Prepend "runsc" to non-native platform names.
|
||||
full_platform = platform if platform == "native" else "runsc_" + platform
|
||||
|
||||
name = test_name + "_" + full_platform
|
||||
|
||||
# Add the full_platform in a tag to make it easier to run all the tests on
|
||||
# a specific platform.
|
||||
tags = [full_platform]
|
||||
@@ -28,7 +30,7 @@ def _syscall_test(test, shard_count, size, platform):
|
||||
|
||||
sh_test(
|
||||
srcs = ["syscall_test_runner.sh"],
|
||||
name = test_name + "_" + full_platform,
|
||||
name = name,
|
||||
data = [
|
||||
":syscall_test_runner",
|
||||
test,
|
||||
|
||||
Reference in New Issue
Block a user