Commit 79da1c4
authored
[Sanitizer] Use %device_rundir/ to fix test (#142274)
I attempted to fix this test in
#142235 but we a new error.
https://lab.llvm.org/buildbot/#/builders/186/builds/9524/steps/26/logs/stdio
> ERROR: Can't create directory: /var
The path we want is actually at `/data/local/tmp/Output/var/...`.
I found `%device_rundir/` evaluates to this prefix on android, and
nothing otherwise.
https://github.com/llvm/llvm-project/blob/f057a593a7151437edd25cfbbdcf450139346f12/compiler-rt/test/lit.common.cfg.py#L6581 parent 2cbe8df commit 79da1c4
File tree
1 file changed
+1
-1
lines changed- compiler-rt/test/sanitizer_common/TestCases/Posix
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments