Skip to content

Commit

Permalink
Make our presubmits run non-small tests.
Browse files Browse the repository at this point in the history
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 bazel-contrib/bazel-lib#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 <msta@google.com>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
Commit-Queue: Shuhei Takahashi <nya@chromium.org>
Tested-by: Matt Stark <msta@google.com>
  • Loading branch information
matts1 authored and Chromeos LUCI committed May 14, 2024
1 parent 60f9a4c commit d4c2b10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions portage/tools/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
"$@" \
Expand Down

0 comments on commit d4c2b10

Please sign in to comment.