| 12345678910111213141516171819202122 |
- // 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
- #ifndef CARBON_TESTING_FILE_TEST_RUN_TEST_H_
- #define CARBON_TESTING_FILE_TEST_RUN_TEST_H_
- #include "common/error.h"
- #include "testing/file_test/file_test_base.h"
- #include "testing/file_test/test_file.h"
- namespace Carbon::Testing {
- // Processes the test file and runs the test. Returns an error if something
- // went wrong.
- auto ProcessTestFileAndRun(FileTestBase* test_base, std::mutex* output_mutex,
- bool dump_output, bool running_autoupdate)
- -> ErrorOr<TestFile>;
- } // namespace Carbon::Testing
- #endif // CARBON_TESTING_FILE_TEST_RUN_TEST_H_
|