[flang] Account for .exe suffix in test/Driver/omp-driver-offload.f90.
authorSlava Zakharin <szakharin@nvidia.com>
Tue, 25 Apr 2023 16:45:45 +0000 (09:45 -0700)
committerSlava Zakharin <szakharin@nvidia.com>
Tue, 25 Apr 2023 17:10:52 +0000 (10:10 -0700)
commit71f862b7bb2c2413d9e47d281ed6f901f8bcd6e3
tree54409684e09594efea2d7a41ad2f45b30aeccccd
parent6600ea1d1c7abd52b5d7aa5de8f09e0c961a4eb3
[flang] Account for .exe suffix in test/Driver/omp-driver-offload.f90.

I believe this test started failing pre-commit testing after D148038.
For example:
https://buildkite.com/llvm-project/premerge-checks/builds/148654#0187b72b-7360-4c52-be94-93eefcb269f4
https://buildkite.com/llvm-project/premerge-checks/builds/148642#0187b691-15a7-44c4-ae23-c7e97ec67755

On Windows the .exe suffix is used for clang-offload-packager tool:
"c:\\program files\\llvm\\bin\\clang-offload-packager.exe" ...

At the same time, I believe I have seen this test sporadically fail before,
meaning that the .exe suffix is not added consistently. I am not sure
why this might be happening. I decided just to allow the suffix.
flang/test/Driver/omp-driver-offload.f90