diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 7e3d1655..e51a0368 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -45,13 +45,7 @@ bcr_test_module: test_flags: - '--cxxopt=-std=c++17' test_targets: - - '//:all' - - '-//:dfa_test' - - '-//:exhaustive1_test' - - '-//:exhaustive2_test' - - '-//:exhaustive3_test' - - '-//:exhaustive_test' - - '-//:random_test' + - '//:small_tests' - '//python:all' windows_test: platform: windows @@ -59,11 +53,5 @@ bcr_test_module: test_flags: - '--cxxopt=/std:c++17' test_targets: - - '//:all' - - '-//:dfa_test' - - '-//:exhaustive1_test' - - '-//:exhaustive2_test' - - '-//:exhaustive3_test' - - '-//:exhaustive_test' - - '-//:random_test' + - '//:small_tests' - '//python:all' diff --git a/.github/bazel.sh b/.github/bazel.sh index f9f925cd..6672e4f3 100755 --- a/.github/bazel.sh +++ b/.github/bazel.sh @@ -16,13 +16,7 @@ do bazel test \ --extra_toolchains=//python/toolchains:all \ --compilation_mode=${compilation_mode} -- \ - //:all \ - -//:dfa_test \ - -//:exhaustive1_test \ - -//:exhaustive2_test \ - -//:exhaustive3_test \ - -//:exhaustive_test \ - -//:random_test \ + //:small_tests \ //python:all done diff --git a/BUILD.bazel b/BUILD.bazel index 643d71f3..aa0f20ba 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -436,3 +436,24 @@ cc_binary( "@google_benchmark//:benchmark_main", ], ) + +test_suite( + name = "small_tests", + tags = ["small"], + tests = [ + ":charclass_test", + ":compile_test", + ":filtered_re2_test", + ":mimics_pcre_test", + ":parse_test", + ":possible_match_test", + ":re2_arg_test", + ":re2_test", + ":regexp_test", + ":required_prefix_test", + ":search_test", + ":set_test", + ":simplify_test", + ":string_generator_test", + ], +)