diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-12-05 16:31:12 -0800 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-12-05 16:32:19 -0800 |
commit | 20da662656931b5730ab21174a443ac828eb51f3 (patch) | |
tree | 90aec2b345085a8f3fe6c15b7459ea49f5fa32ee /openmp | |
parent | e68c265543722af32821eab2c77565d37079da47 (diff) | |
download | llvm-20da662656931b5730ab21174a443ac828eb51f3.zip llvm-20da662656931b5730ab21174a443ac828eb51f3.tar.gz llvm-20da662656931b5730ab21174a443ac828eb51f3.tar.bz2 |
[OpenMP][FIX] Fixup test that doesn't work with lit's `env` substitute
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c b/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c index 8bd08ac..a98a84c 100644 --- a/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c +++ b/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c @@ -1,7 +1,7 @@ // clang-format off // RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %T/liba.so -fopenmp-version=51 -// RUN: %libomptarget-compile-generic -L %T -l a -o %t -fopenmp-version=51 -// RUN: env LIBOMPTARGET_INFO=32 LD_LIBRARY_PATH=%T:$LD_LIBRARY_PATH %t | %fcheck-generic +// RUN: %libomptarget-compile-generic -rpath %T -L %T -l a -o %t -fopenmp-version=51 +// RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic // clang-format on #include <stdio.h> |