Files
carbon-lang/testing/file_test/autoupdate_testdata.sh
T
Jon Ross-PerkinsandGeoff Romer 961f20e859 Make FileTest run tests async by default (#4991)
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>
2025-02-24 23:20:08 +00:00

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 "$@"