Skip to content

Commit 20da662

Browse files
committed
[OpenMP][FIX] Fixup test that doesn't work with lit's env substitute
1 parent e68c265 commit 20da662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// clang-format off
22
// RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %T/liba.so -fopenmp-version=51
3-
// RUN: %libomptarget-compile-generic -L %T -l a -o %t -fopenmp-version=51
4-
// RUN: env LIBOMPTARGET_INFO=32 LD_LIBRARY_PATH=%T:$LD_LIBRARY_PATH %t | %fcheck-generic
3+
// RUN: %libomptarget-compile-generic -rpath %T -L %T -l a -o %t -fopenmp-version=51
4+
// RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic
55
// clang-format on
66

77
#include <stdio.h>

0 commit comments

Comments
 (0)