Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map bazel's --test_runner_fail_fast to go's -failfast #3058

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

jacobbogdanov
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?

The following are now equivalent

> bazel test --test_runner_fail_fast //path/to/my/go/test
> bazel test --test_arg=-failfast //path/to/my/go/test

Which issues(s) does this PR fix?

Fixes #3055

Other notes for review

The following are now equivalent
```sh
> bazel test --test_runner_fail_fast //path/to/my/go/test
> bazel test --test_arg=-failfast //path/to/my/go/test
```
Copy link
Member

@achew22 achew22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What an absurdly good PR! Thank you so much!!!!

@achew22 achew22 merged commit bd0dd3f into bazelbuild:master Jan 24, 2022
@achew22
Copy link
Member

achew22 commented Jan 24, 2022

I'm not sure if we cut the 0.30 release yet (that might have happened this morning), but it will either make it in 0.30 or 0.31. Thank you so much for such a quick and thorough PR!

@jacobbogdanov jacobbogdanov deleted the failfast branch January 24, 2022 20:08
@jacobbogdanov
Copy link
Contributor Author

thanks for the quick review and pointing me in the right direction 👍 . Following the example of TESTBRIDGE_TEST_ONLY/--test_filter made figuring out what all the components I needed to modify much simpler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for bazel's --test_runner_fail_fast in go_test
2 participants