Make autoupdate leave blaze-bin alone and produce less spam. (#3259)

Minor changes to the blaze command line executed by our autoupdate
scripts:

- Don't change the convenience symlinks. Running autoupdate shouldn't
cause `./bazel-bin/...` to switch to running a different binary.
- Don't produce so much spam. Bazel will still log its build progress if
necessary, and still report compile and runtime errors, but won't
produce half a dozen lines of INFO at the start of the command.
This commit is contained in:
Richard Smith
2023-10-03 18:56:25 +00:00
committed by GitHub
parent 88e87b86b9
commit e469545eec
3 changed files with 9 additions and 3 deletions
+4 -2
View File
@@ -4,5 +4,7 @@
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
bazel run -c opt --test_sharding_strategy=disabled //explorer:file_test \
-- --autoupdate
bazel run -c opt --experimental_convenience_symlinks=ignore \
--ui_event_filters=-info,-stdout,-stderr,-finish \
--test_sharding_strategy=disabled \
//explorer:file_test -- --autoupdate
+3 -1
View File
@@ -4,4 +4,6 @@
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
bazel run -c opt //testing/file_test:file_test_base_test -- --autoupdate "$@"
bazel run -c opt --experimental_convenience_symlinks=ignore \
--ui_event_filters=-info,-stdout,-stderr,-finish \
//testing/file_test:file_test_base_test -- --autoupdate "$@"
+2
View File
@@ -19,6 +19,8 @@ def main() -> None:
"run",
"-c",
"opt",
"--experimental_convenience_symlinks=ignore",
"--ui_event_filters=-info,-stdout,-stderr,-finish",
"//toolchain/testing:file_test",
"--",
"--autoupdate",