[all-commits] [llvm/llvm-project] fe56c8: [OpenMP][test] Adjust tool_available_search.c for ...
Rainer Orth via All-commits
all-commits at lists.llvm.org
Sat May 10 00:51:37 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe56c8f36444d0a955b341b4dbc7cec28786d675
https://github.com/llvm/llvm-project/commit/fe56c8f36444d0a955b341b4dbc7cec28786d675
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2025-05-10 (Sat, 10 May 2025)
Changed paths:
M openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c
Log Message:
-----------
[OpenMP][test] Adjust tool_available_search.c for Solaris (#138515)
After PR #138514, only 3 testsuite failures remain on Solaris/amd64. One
of them is
```
libomp :: ompt/loadtool/tool_available_search/tool_available_search.c
```
The issue is that the expected message is that emitted by Linux/glibc,
while the Solaris message differs:
On Linux/x86_64, I get
```
Opening projects/openmp/runtime/test/ompt/loadtool/tool_available_search/Output/non_existing_file.so... Failed: projects/openmp/runtime/test/ompt/loadtool/tool_available_search/Output/non_existing_file.so: cannot open shared object file: No such file or directory
```
while Solaris/amd64 emits
```
Opening projects/openmp/runtime/test/ompt/loadtool/tool_available_search/Output/non_existing_file.so... Failed: ld.so.1: tool_available_search.c.tmp: projects/openmp/runtime/test/ompt/loadtool/tool_available_search/Output/non_existing_file.so: open failed: No such file or directory
```
Since the exact wording is obviously an implementation detail, this
patch allows for both forms.
Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list