aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/integration/BUILD
diff options
context:
space:
mode:
authorGravatar philwo <philwo@google.com>2017-04-24 15:22:29 +0200
committerGravatar Vladimir Moskva <vladmos@google.com>2017-04-24 16:52:22 +0200
commit29aee67c0c95af2840faa47a071b72adf4b734ce (patch)
tree5742d1b9d4ef0cce8e9815aede5be2700e8c992d /src/test/shell/integration/BUILD
parentf3fd3a4ad2e7f2878e7d8f71cfb4cb53fc15e04e (diff)
Bazel: Fix wrong test count shown for failing tests.
Bazel always miscounted the number of passes that a test was run, resulting in confusing output like this: philwo@philwo:~/src/errortest$ bazel test //tests:fail [...] //tests:fail FAILED in 1 out of 2 in 0.1s ERROR .tests/fail It shows "1 out of 2" even though just one pass happened. With this fix, the output is correct: philwo@philwo:~/src/errortest$ bazel test //tests:fail [...] //tests:fail FAILED in 0.1s ERROR .tests/fail Relevant to #2855. PiperOrigin-RevId: 154043240
Diffstat (limited to 'src/test/shell/integration/BUILD')
-rw-r--r--src/test/shell/integration/BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD
index 7d9ecb12e9..ba058210ee 100644
--- a/src/test/shell/integration/BUILD
+++ b/src/test/shell/integration/BUILD
@@ -265,6 +265,12 @@ sh_test(
data = [":test-deps"],
)
+sh_test(
+ name = "test_test",
+ srcs = ["test_test.sh"],
+ data = [":test-deps"],
+)
+
test_suite(
name = "all_tests",
visibility = ["//visibility:public"],