mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:51:16 +01:00
Make included files insert before main files (#6899)
This is so that the last file is more likely what we're trying to compile in tests. Just splitting out the churn-y change of reordering. Assisted-by: Google Antigravity with Gemini
This commit is contained in:
@@ -104,10 +104,10 @@ static auto CollectOutputIfCapturing(TestFile& test_file) -> void {
|
||||
auto RunTestFile(const FileTestBase& test_base, bool dump_output,
|
||||
TestFile& test_file) -> ErrorOr<Success> {
|
||||
llvm::SmallVector<TestFile::Split*> all_splits;
|
||||
for (auto& split : test_file.file_splits) {
|
||||
for (auto& split : test_file.include_file_splits) {
|
||||
all_splits.push_back(&split);
|
||||
}
|
||||
for (auto& split : test_file.include_file_splits) {
|
||||
for (auto& split : test_file.file_splits) {
|
||||
all_splits.push_back(&split);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user