From bde588ff05cad3591025a1e313eebe61cd82e421 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 10 Jan 2019 17:15:33 -0800 Subject: Define name earlier PiperOrigin-RevId: 228805981 Change-Id: I4f4c4a5d8de325dff38f6dfb92108fc848d823fd --- test/syscalls/build_defs.bzl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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, -- cgit v1.2.3