Skip to content

Commit 081d8f2

Browse files
connieyzhuaaryanshukla
authored andcommitted
[LLVM][test][nfc] Updating test to work with internal shell (llvm#98370)
The RUN line attempts to set the JITDUMPDIR environment variable, which fails in llvm-lit's internal shell. This patch prefixes JITDUMPDIR with env so that the behavior of setting the variable is as expected in the internal shell.
1 parent e379a71 commit 081d8f2

File tree

1 file changed

+1
-1
lines changed
  • llvm/test/ExecutionEngine/JITLink/x86-64

1 file changed

+1
-1
lines changed

llvm/test/ExecutionEngine/JITLink/x86-64/ELF_perf.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# RUN: rm -rf %t && mkdir -p %t
77
# RUN: llvm-mc -triple=x86_64-unknown-linux -position-independent \
88
# RUN: -filetype=obj -o %t/ELF_x86-64_perf.o %s
9-
# RUN: JITDUMPDIR="%t" llvm-jitlink -perf-support \
9+
# RUN: env JITDUMPDIR="%t" llvm-jitlink -perf-support \
1010
# RUN: %t/ELF_x86-64_perf.o
1111
# RUN: test -f %t/.debug/jit/llvm-IR-jit-*/jit-*.dump
1212

0 commit comments

Comments
 (0)