[all-commits] [llvm/llvm-project] 79da1c: [Sanitizer] Use %device_rundir/ to fix test (#142274)

Ellis Hoag via All-commits all-commits at lists.llvm.org
Sat May 31 07:33:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79da1c405dc1b7a6692689b30dd2afa166a17961
      https://github.com/llvm/llvm-project/commit/79da1c405dc1b7a6692689b30dd2afa166a17961
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2025-05-31 (Sat, 31 May 2025)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp

  Log Message:
  -----------
  [Sanitizer] Use %device_rundir/ to fix test (#142274)

I attempted to fix this test in
https://github.com/llvm/llvm-project/pull/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#L658



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list