Skip to content

Commit

Permalink
[Flang] Add multiline error message support to pass-plugin-not-found …
Browse files Browse the repository at this point in the history
…(NFC) (#73601)

The error message above has multiple lines on AIX, adding
`{{[[:space:]].*}}` to match multiple lines

Co-authored-by: Mark Danial <mark.danial@ibm.com>
  • Loading branch information
madanial0 and madanial0 committed Nov 30, 2023
1 parent 1296d20 commit 586986a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/test/Driver/pass-plugin-not-found.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
! RUN: not %flang_fc1 -emit-llvm -o /dev/null -fpass-plugin=X.Y %s 2>&1 | FileCheck %s --check-prefix=ERROR

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

0 comments on commit 586986a

Please sign in to comment.