Skip to content

Commit

Permalink
[LLVM][test][nfc] Updating test to work with internal shell (#98370)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
connieyzhu authored Jul 11, 2024
1 parent 55b1410 commit 9ddfe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/ExecutionEngine/JITLink/x86-64/ELF_perf.s
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-mc -triple=x86_64-unknown-linux -position-independent \
# RUN: -filetype=obj -o %t/ELF_x86-64_perf.o %s
# RUN: JITDUMPDIR="%t" llvm-jitlink -perf-support \
# RUN: env JITDUMPDIR="%t" llvm-jitlink -perf-support \
# RUN: %t/ELF_x86-64_perf.o
# RUN: test -f %t/.debug/jit/llvm-IR-jit-*/jit-*.dump

Expand Down

0 comments on commit 9ddfe62

Please sign in to comment.