[all-commits] [llvm/llvm-project] dfa7f4: [flang][test] Adjust Driver/pass-plugin-not-found....
rorth via All-commits
all-commits at lists.llvm.org
Thu Nov 24 07:21:29 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfa7f4ca8b6054c6148a14fd23bf400782136fda
https://github.com/llvm/llvm-project/commit/dfa7f4ca8b6054c6148a14fd23bf400782136fda
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2022-11-24 (Thu, 24 Nov 2022)
Changed paths:
M flang/test/Driver/pass-plugin-not-found.f90
Log Message:
-----------
[flang][test] Adjust Driver/pass-plugin-not-found.f90 error message
The `Driver/pass-plugin-not-found.f90` test `FAIL`s on Solaris since part
of the error message differs from what the test expects: Solaris has
error: unable to load plugin 'X.Y': 'Could not load library 'X.Y':
ld.so.1: flang-new: X.Y: open failed: No such file or directory'
while the test expects
error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': X.Y:
cannot open shared object file: No such file or directory'
The last part is emitted by the system `dlerror` and is thus unportable.
Hopefully the error text itself is the same everywhere.
The following patch adjusts the expected message accordingly.
Tested on `x86_64-pc-linux-gnu` and `amd64-pc-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D138663
More information about the All-commits
mailing list