[compiler-rt] [compiler-rt][test] Move tmp dir creation with env to where dir is run (PR #106252)
Connie Zhu via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 11:38:54 PDT 2024
connieyzhu wrote:
> What's the failure?
```
FAIL: Profile-x86_64 :: Linux/instrprof-dir.c (1 of 1)
******************** TEST 'Profile-x86_64 :: Linux/instrprof-dir.c' FAILED ********************
Exit Code: 127
Command Output (stdout):
--
# RUN: at line 1
/usr/local/google/home/connieyzhu/llvm-fork/build/./bin/clang -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -ldl -fprofile-generate -o /usr/local/google/home/connieyzhu/llvm-fork/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp /usr/local/google/home/connieyzhu/llvm-fork/compiler-rt/test/profile/Linux/instrprof-dir.c
# executed command: /usr/local/google/home/connieyzhu/llvm-fork/build/./bin/clang -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -ldl -fprofile-generate -o /usr/local/google/home/connieyzhu/llvm-fork/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp /usr/local/google/home/connieyzhu/llvm-fork/compiler-rt/test/profile/Linux/instrprof-dir.c
# RUN: at line 2
env LLVM_PROFILE_FILE="/usr/local/google/home/connieyzhu/llvm-fork/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp.d/%m.profraw"
# executed command: env LLVM_PROFILE_FILE=/usr/local/google/home/connieyzhu/llvm-fork/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp.d/%m.profraw
# .---command stderr------------
# | Error: 'env' requires a subcommand
# `-----------------------------
# error: command failed with exit status: 127
```
https://github.com/llvm/llvm-project/pull/106252
More information about the llvm-commits
mailing list