You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bazel allows users to pass in a pattern for matching test cases within a test using --test_filter=filter-expression. This pattern is passed to the test runner through the TESTBRIDGE_TEST_ONLY environment variable.
The test runner generated by //go/tools:generate_test_main should treat this environment variable as a regular expression and filter tests accordingly. Currently, we pass a function to testing.Main which matches all tests.
The text was updated successfully, but these errors were encountered:
Modified generate_test_main.go to map the TESTBRIDGE_TEST_ONLY
environment variable (set by Bazel for --test_filter) onto the
-test.run flag, which is defined and used by the testing package.
Fixesbazelbuild#272
Modified generate_test_main.go to map the TESTBRIDGE_TEST_ONLY
environment variable (set by Bazel for --test_filter) onto the
-test.run flag, which is defined and used by the testing package.
Fixes#272
Bazel allows users to pass in a pattern for matching test cases within a test using
--test_filter=filter-expression
. This pattern is passed to the test runner through theTESTBRIDGE_TEST_ONLY
environment variable.The test runner generated by //go/tools:generate_test_main should treat this environment variable as a regular expression and filter tests accordingly. Currently, we pass a function to
testing.Main
which matches all tests.The text was updated successfully, but these errors were encountered: