[flang-commits] [flang] 586986a - [Flang] Add multiline error message support to pass-plugin-not-found (NFC) (#73601)
via flang-commits
flang-commits at lists.llvm.org
Wed Nov 29 22:35:07 PST 2023
Author: madanial0
Date: 2023-11-30T01:35:03-05:00
New Revision: 586986a063ee4b9a7490aac102e103bab121c764
URL: https://github.com/llvm/llvm-project/commit/586986a063ee4b9a7490aac102e103bab121c764
DIFF: https://github.com/llvm/llvm-project/commit/586986a063ee4b9a7490aac102e103bab121c764.diff
LOG: [Flang] Add multiline error message support to pass-plugin-not-found (NFC) (#73601)
The error message above has multiple lines on AIX, adding
`{{[[:space:]].*}}` to match multiple lines
Co-authored-by: Mark Danial <mark.danial at ibm.com>
Added:
Modified:
flang/test/Driver/pass-plugin-not-found.f90
Removed:
################################################################################
diff --git a/flang/test/Driver/pass-plugin-not-found.f90 b/flang/test/Driver/pass-plugin-not-found.f90
index 08dd29e5dab0683..fc1e690a0cc72bb 100644
--- a/flang/test/Driver/pass-plugin-not-found.f90
+++ b/flang/test/Driver/pass-plugin-not-found.f90
@@ -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{{.*}}'
More information about the flang-commits
mailing list