[all-commits] [llvm/llvm-project] fc7b8e: [test] Fix dr324.c again for non-writeable source ...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Mon Dec 12 10:11:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc7b8e71312f89986be1a7cc67377a2decfcf337
      https://github.com/llvm/llvm-project/commit/fc7b8e71312f89986be1a7cc67377a2decfcf337
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M clang/test/C/drs/dr324.c

  Log Message:
  -----------
  [test] Fix dr324.c again for non-writeable source directories

In general, the source tree is not assumed to be writeable, so modifying `%s` does not work for all CI systems. Instead of touching `%s`, copy it to a writeable dir using `%t`, and touch it there.
Actually, `dr0xx.c` isn't really needed at all, so just create a new `dep.c` file in the build tree.

This was recently added in cb088e8c3abf30456e2891f90b5194d0070c387a, fixed in 1481fcf780bde7b115aa395064d71749b1a40889, and fixed again in d16c59013056f1bf8844ded8faeb0cf01b1c3613.




More information about the All-commits mailing list