run_test.h 674 B

1234567891011121314151617181920
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #ifndef CARBON_TESTING_FILE_TEST_RUN_TEST_H_
  5. #define CARBON_TESTING_FILE_TEST_RUN_TEST_H_
  6. #include "common/error.h"
  7. #include "testing/file_test/file_test_base.h"
  8. #include "testing/file_test/test_file.h"
  9. namespace Carbon::Testing {
  10. // Runs the test, updating `test_file`.
  11. auto RunTestFile(const FileTestBase& test_base, bool dump_output,
  12. TestFile& test_file) -> ErrorOr<Success>;
  13. } // namespace Carbon::Testing
  14. #endif // CARBON_TESTING_FILE_TEST_RUN_TEST_H_