Skip to content

Commit 1334c03

Browse files
committed
[flang] Fix test after 4078afc
This tests requires the OpenMP runtime to be present, but the way that the lit config detects it fails when "openmp" is added to RUNTIMES instead of PROJECTS. This caused the tests to be skipped as unsupported in local and upstream tests. The actual bug was a missing word in the message, and putting the check at the wrong line.
1 parent bd28889 commit 1334c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Semantics/OpenMP/clause-validity01.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@
342342
a = 1.0
343343
!ERROR: COPYPRIVATE clause is not allowed on the END WORKSHARE directive
344344
!$omp end workshare nowait copyprivate(a)
345+
!ERROR: NOWAIT clause is not allowed on the OMP WORKSHARE directive, use it on OMP END WORKSHARE directive
345346
!$omp workshare nowait
346-
!ERROR: NOWAIT clause is not allowed on the WORKSHARE directive, use it on OMP END WORKSHARE directive
347347
!$omp end workshare
348348
!$omp end parallel
349349

0 commit comments

Comments
 (0)