From d4c2b103544cd699d68703e45efe9029b8a65848 Mon Sep 17 00:00:00 2001 From: Matt Stark Date: Tue, 14 May 2024 08:20:05 +1000 Subject: [PATCH] Make our presubmits run non-small tests. Unfortunately, //bazel:generate_cargo_files_test does not run because it's not marked as small, and there's no way to mark it as small. This should be fixed by https://github.com/aspect-build/bazel-lib/pull/839 BUG=None TEST=portage/tools/run_tests.sh Change-Id: Iea7b85df7d59b6f0bfaa6973a4e41119d9d6c102 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/bazel/+/5531394 Auto-Submit: Matt Stark Reviewed-by: Shuhei Takahashi Commit-Queue: Shuhei Takahashi Tested-by: Matt Stark --- portage/tools/run_tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/portage/tools/run_tests.sh b/portage/tools/run_tests.sh index e8d60f4e5..414fbbb9c 100755 --- a/portage/tools/run_tests.sh +++ b/portage/tools/run_tests.sh @@ -27,9 +27,11 @@ fi set -x - # Despite the name, bazel test also builds non-test targets if they're listed. +# Despite the name, bazel test also builds non-test targets if they're listed. +# TODO: Once github.com/bazelbuild/bazel/issues/22355 is resolved, remove +# medium from the test size filters. exec bazel test \ - --test_size_filters=small \ + --test_size_filters=small,medium \ --config=format \ --keep_going \ "$@" \