Skip to content

Commit b99b6b7

Browse files
authored
[flang][Driver][test] add missing run lines to fopenmp test (#92784)
I believe these were forgotten when copying the clang in #86816. This was flagged because the CHECK lines for CHECK-LD-ANY* had no associated RUN line. See #92387 (comment)
1 parent 5272768 commit b99b6b7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

flang/test/Driver/fopenmp.f90

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@
5151
! We'd like to check that the default is sane, but until we have the ability
5252
! to *always* semantically analyze OpenMP without always generating runtime
5353
! calls (in the event of an unsupported runtime), we don't have a good way to
54-
! test the CC1 invocation. Instead, just ensure we do eventually link *some*
54+
! test the FC1 invocation. Instead, just ensure we do eventually link *some*
5555
! OpenMP runtime.
5656
!
57+
! RUN: %flang -target x86_64-linux-gnu -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
58+
! RUN: %flang -target x86_64-darwin -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
59+
! RUN: %flang -target x86_64-freebsd -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
60+
! RUN: %flang -target x86_64-windows-gnu -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANYMD
61+
!
5762
! CHECK-LD-ANY: "{{.*}}ld{{(.exe)?}}"
5863
! CHECK-LD-ANY: "-l{{(omp|gomp|iomp5)}}"
5964
!

0 commit comments

Comments
 (0)