Skip to content

Commit

Permalink
Mark some //common, //toolchain/driver, //‎toolchain/install tests as…
Browse files Browse the repository at this point in the history
… small per 'Test execution time' warning (#4646)

These tests only take between 0.1s and 1.4s.
  • Loading branch information
bricknerb authored Dec 10, 2024
1 parent d81ed4b commit fe8b421
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ cc_library(

cc_test(
name = "hashing_test",
size = "small",
srcs = ["hashing_test.cpp"],
deps = [
":hashing",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -281,6 +283,7 @@ cc_library(

cc_test(
name = "map_test",
size = "small",
srcs = ["map_test.cpp"],
deps = [
":map",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -420,6 +424,7 @@ cc_library(

cc_test(
name = "set_test",
size = "small",
srcs = ["set_test.cpp"],
deps = [
":raw_hashtable_test_helpers",
Expand Down
1 change: 1 addition & 0 deletions toolchain/driver/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ cc_binary(

sh_test(
name = "compile_benchmark_test",
size = "small",
srcs = [":compile_benchmark"],
args = [
"--benchmark_min_time=1x",
Expand Down
1 change: 1 addition & 0 deletions toolchain/install/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ cc_library(

cc_test(
name = "busybox_info_test",
size = "small",
srcs = ["busybox_info_test.cpp"],
deps = [
":busybox_info",
Expand Down

0 comments on commit fe8b421

Please sign in to comment.