[flang-commits] [flang] [Flang] Add multiline error message support to pass-plugin-not-found (NFC) (PR #73601)

via flang-commits flang-commits at lists.llvm.org
Wed Nov 29 20:42:35 PST 2023


https://github.com/madanial0 updated https://github.com/llvm/llvm-project/pull/73601

>From 4b6bdda5e256abb99f0f35b31188a122388f8470 Mon Sep 17 00:00:00 2001
From: Mark Danial <madanial at dixon.rtp.raleigh.ibm.com>
Date: Mon, 27 Nov 2023 15:57:21 -0500
Subject: [PATCH] [Flang] Add multiline error message support to
 pass-plugin-not-found (NFC)

---
 flang/test/Driver/pass-plugin-not-found.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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