diff options
author | 2018-05-25 09:13:46 -0700 | |
---|---|---|
committer | 2018-05-25 09:15:04 -0700 | |
commit | 9fa72497c03573175eda1130617630bb0904faf2 (patch) | |
tree | 0e5442313e246ef7600d83218752614915f6ac9d /src/test/shell/bazel/bazel_spawnstats_test.sh | |
parent | 6acfe4ea6f586be211b46622cda485ea83eca7a9 (diff) |
Remove special casing from processes stat line.
Fixes #5263
RELNOTES: execution strategies line no longer handles differently the case
where all processes have the same strategy.
PiperOrigin-RevId: 198057496
Diffstat (limited to 'src/test/shell/bazel/bazel_spawnstats_test.sh')
-rwxr-xr-x | src/test/shell/bazel/bazel_spawnstats_test.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/shell/bazel/bazel_spawnstats_test.sh b/src/test/shell/bazel/bazel_spawnstats_test.sh index 958296f47f..e9fa2a3827 100755 --- a/src/test/shell/bazel/bazel_spawnstats_test.sh +++ b/src/test/shell/bazel/bazel_spawnstats_test.sh @@ -55,28 +55,28 @@ function statistics_single() { } function test_local() { - statistics_single "--spawn_strategy=local" ", local" + statistics_single "--spawn_strategy=local" ": 1 local" } function test_local_sandbox() { if [[ "$PLATFORM" == "linux" ]]; then - statistics_single "--spawn_strategy=linux-sandbox" ", linux-sandbox" + statistics_single "--spawn_strategy=linux-sandbox" ": 1 linux-sandbox" fi } # We are correctly resetting the counts function test_repeat() { flags="--spawn_strategy=local" - statistics_single $flags ", local" + statistics_single $flags ": 1 local" bazel clean $flags - statistics_single $flags ", local" + statistics_single $flags ": 1 local" } # Locally cached results are not yet displayed function test_localcache() { flags="--spawn_strategy=local" # We are correctly resetting the counts - statistics_single $flags ", local" + statistics_single $flags ": 1 local" statistics_single $flags "0 processes." } |