[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:51:48 PDT 2024
connieyzhu wrote:
> I mean what's the failure with your change?
```
FAIL: Profile-x86_64 :: Linux/instrprof-dir.c (1 of 1)
******************** TEST 'Profile-x86_64 :: Linux/instrprof-dir.c' FAILED ********************
Exit Code: 1
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
rm -fr /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
# executed command: rm -fr /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
# RUN: at line 3
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" /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/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp.d
# 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 /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/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/test/profile/Profile-x86_64/Linux/Output/instrprof-dir.c.tmp.d
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
```
https://github.com/llvm/llvm-project/pull/106252
More information about the llvm-commits
mailing list