mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:00:11 +01:00
This takes the mechanism currently used for autoupdate and expands it to the regular tests (deliberately trying to unify logic for test/autoupdate/dump to deliver consistent behavior). I'm seeing about a 85% reduction in test time, though results will vary based on test system. This does some small edits to test output to make it fit better with the new flow. Note I'm stopping printing of the "here's how to run" on every test by default, since it's autoupdated into file content by default. However, it's still there for test failures. --------- Co-authored-by: Geoff Romer <gromer@google.com>
11 lines
425 B
Bash
Executable File
11 lines
425 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
"$(dirname "$0")/../../scripts/run_bazel.py" \
|
|
run --experimental_convenience_symlinks=ignore \
|
|
--ui_event_filters=-info,-stdout,-stderr,-finish \
|
|
//testing/file_test:file_test_base_test -- --autoupdate "$@"
|