Skip to content

Commit 586986a

Browse files
authored
[Flang] Add multiline error message support to pass-plugin-not-found (NFC) (llvm#73601)
The error message above has multiple lines on AIX, adding `{{[[:space:]].*}}` to match multiple lines Co-authored-by: Mark Danial <[email protected]>
1 parent 1296d20 commit 586986a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Driver/pass-plugin-not-found.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
! RUN: not %flang_fc1 -emit-llvm -o /dev/null -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR
77

88
! The exact wording of the error message depends on the system dlerror.
9-
! ERROR: error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': {{.*}}: {{.*}}{{[Nn]}}o such file{{.*}}'
9+
! ERROR: error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': {{.*}}{{[[:space:]].*}}{{.*}}: {{.*}}{{[Nn]}}o such file{{.*}}'

0 commit comments

Comments
 (0)