From fe8b42148f481e34facfc7ad04e1713a109c092c Mon Sep 17 00:00:00 2001 From: Boaz Brickner Date: Tue, 10 Dec 2024 21:55:58 +0100 Subject: [PATCH] =?UTF-8?q?Mark=20some=20//common,=20//toolchain/driver,?= =?UTF-8?q?=20//=E2=80=8Etoolchain/install=20tests=20as=20small=20per=20'T?= =?UTF-8?q?est=20execution=20time'=20warning=20(#4646)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These tests only take between 0.1s and 1.4s. --- common/BUILD | 5 +++++ toolchain/driver/BUILD | 1 + toolchain/install/BUILD | 1 + 3 files changed, 7 insertions(+) diff --git a/common/BUILD b/common/BUILD index 118d20d21454f..0a4474e77e521 100644 --- a/common/BUILD +++ b/common/BUILD @@ -181,6 +181,7 @@ cc_library( cc_test( name = "hashing_test", + size = "small", srcs = ["hashing_test.cpp"], deps = [ ":hashing", @@ -217,6 +218,7 @@ cc_library( cc_test( name = "hashtable_key_context_test", + size = "small", srcs = ["hashtable_key_context_test.cpp"], deps = [ ":hashtable_key_context", @@ -281,6 +283,7 @@ cc_library( cc_test( name = "map_test", + size = "small", srcs = ["map_test.cpp"], deps = [ ":map", @@ -368,6 +371,7 @@ cc_binary( sh_test( name = "raw_hashtable_metadata_group_benchmark_test", + size = "small", srcs = ["raw_hashtable_metadata_group_benchmark"], args = [ "--benchmark_min_time=1x", @@ -420,6 +424,7 @@ cc_library( cc_test( name = "set_test", + size = "small", srcs = ["set_test.cpp"], deps = [ ":raw_hashtable_test_helpers", diff --git a/toolchain/driver/BUILD b/toolchain/driver/BUILD index d015d2fc33fe7..4842aaaf047a8 100644 --- a/toolchain/driver/BUILD +++ b/toolchain/driver/BUILD @@ -74,6 +74,7 @@ cc_binary( sh_test( name = "compile_benchmark_test", + size = "small", srcs = [":compile_benchmark"], args = [ "--benchmark_min_time=1x", diff --git a/toolchain/install/BUILD b/toolchain/install/BUILD index 9ddf3b41a6913..9cb16c9fd92d4 100644 --- a/toolchain/install/BUILD +++ b/toolchain/install/BUILD @@ -82,6 +82,7 @@ cc_library( cc_test( name = "busybox_info_test", + size = "small", srcs = ["busybox_info_test.cpp"], deps = [ ":busybox_info",