Skip to content

Commit 12c4645

Browse files
[flang][test] fix tests broken by rename
1 parent c4f8e70 commit 12c4645

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

flang/test/Driver/driver-version.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
! VERSION-NEXT: Thread model:
1010
! VERSION-NEXT: InstalledDir:
1111

12-
! ERROR: flang: error: unknown argument '--versions'; did you mean '--version'?
12+
! ERROR: flang{{.*}}: error: unknown argument '--versions'; did you mean '--version'?
1313

1414
! VERSION-FC1: LLVM version
1515

flang/test/Driver/lto-flags.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
! FULL-LTO: "-fc1"
3131
! FULL-LTO-SAME: "-flto=full"
3232

33-
! THIN-LTO-ALL: flang: warning: the option '-flto=thin' is a work in progress
33+
! THIN-LTO-ALL: flang{{.*}}: warning: the option '-flto=thin' is a work in progress
3434
! THIN-LTO-ALL: "-fc1"
3535
! THIN-LTO-ALL-SAME: "-flto=thin"
3636
! THIN-LTO-LINKER-PLUGIN: "-plugin-opt=thinlto"

flang/test/Driver/missing-input.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
! RUN: not %flang_fc1 %t.f90 2>&1 | FileCheck %s --check-prefix=FLANG-FC1-NONEXISTENT-FILE
1818
! RUN: not %flang_fc1 %S 2>&1 | FileCheck %s --check-prefix=FLANG-FC1-DIR
1919

20-
! FLANG-NO-FILE: flang: error: no input files
20+
! FLANG-NO-FILE: flang{{.*}}: error: no input files
2121

22-
! FLANG-NONEXISTENT-FILE: flang: error: no such file or directory: {{.*}}
23-
! FLANG-NONEXISTENT-FILE: flang: error: no input files
22+
! FLANG-NONEXISTENT-FILE: flang{{.*}}: error: no such file or directory: {{.*}}
23+
! FLANG-NONEXISTENT-FILE: flang{{.*}}: error: no input files
2424

2525
! FLANG-FC1-NONEXISTENT-FILE: error: {{.*}} does not exist
2626
! FLANG-FC1-DIR: error: {{.*}} is not a regular file

flang/test/Driver/multiple-input-files.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
! FLANG-NEXT:end program hello
4040

4141
! TEST 2: `-o` does not when multiple input files are present
42-
! ERROR: flang: error: cannot specify -o when generating multiple output files
42+
! ERROR: flang{{.*}}: error: cannot specify -o when generating multiple output files
4343

4444
! TEST 3: The output file _was not_ specified - `flang_fc1` will process all
4545
! input files and generate one output file for every input file.

0 commit comments

Comments
 (0)