[flang-commits] [flang] 94bf67c - [Flang][Driver] NFC: Fix plugin test to work on Mac

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Feb 23 10:20:18 PST 2023


Author: Kiran Chandramohan
Date: 2023-02-23T18:12:21Z
New Revision: 94bf67c5c63de82c70bd4a10bc40c6a74c18e279

URL: https://github.com/llvm/llvm-project/commit/94bf67c5c63de82c70bd4a10bc40c6a74c18e279
DIFF: https://github.com/llvm/llvm-project/commit/94bf67c5c63de82c70bd4a10bc40c6a74c18e279.diff

LOG: [Flang][Driver] NFC: Fix plugin test to work on Mac

Minor modifications to Diagnostic expectation to match the error generated in Mac.
Tested on M1 Mac.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D144630

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 c0a5672fdb743..08dd29e5dab06 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': {{.*}}: No such file or directory'
+! ERROR: error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': {{.*}}: {{.*}}{{[Nn]}}o such file{{.*}}'


        


More information about the flang-commits mailing list