summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-01-10 17:15:33 -0800
committerShentubot <shentubot@google.com>2019-01-10 17:16:36 -0800
commitbde588ff05cad3591025a1e313eebe61cd82e421 (patch)
tree400d279d915aaa775c2995775199b3c79ec36330 /test/syscalls
parent7f8de3bf92decbd745a4bc4e8aebf1ba1159ed4b (diff)
Define name earlier
PiperOrigin-RevId: 228805981 Change-Id: I4f4c4a5d8de325dff38f6dfb92108fc848d823fd
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/build_defs.bzl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/syscalls/build_defs.bzl b/test/syscalls/build_defs.bzl
index d6c2a1290..854684d1c 100644
--- a/test/syscalls/build_defs.bzl
+++ b/test/syscalls/build_defs.bzl
@@ -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,