Files
gerrit/tools
David Ostrovsky 938db887d8 Bazel: Add always pass test to avoid boilerplate in the CI
We don't know whether or not all plugins have test rules, so running a
generic command:

  $ bazelisk test plugins/{name}/...

can lead to no tests found outcome, in which case Bazel will return exit
code 4 that needs to be checked to differentiate from test failure (exit
code 1). To avoid those checks, pass the virtual test that will always
succeed:

  $ bazelisk test //tools/bzl:always_pass_test plugins/{name}/...

See also this upstream issue for this suggested workaround: [1].

[1] https://github.com/bazelbuild/bazel/issues/11465

Change-Id: Ideab64674482400cc48fad55f7ed9f8085909b84
(cherry picked from commit d69773ceb5)
2020-06-05 22:41:13 +00:00
..
2015-08-26 09:03:24 -06:00
2017-05-11 15:21:41 +00:00
2019-03-13 16:12:42 +09:00
2019-04-20 12:53:58 +00:00
2019-04-20 12:53:58 +00:00