[all-commits] [llvm/llvm-project] 3fefda: [libc++] Run tests in a directory related to %t in...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Apr 7 13:10:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3fefda6e578b431875405791bc7216595d767fbf
https://github.com/llvm/llvm-project/commit/3fefda6e578b431875405791bc7216595d767fbf
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-04-07 (Tue, 07 Apr 2020)
Changed paths:
M libcxx/utils/libcxx/test/config.py
M libcxx/utils/run.py
Log Message:
-----------
[libc++] Run tests in a directory related to %t instead of /tmp
Instead of creating a temporary directory inside /tmp and running the
tests there, use a directory name based on LIT's %t substitution. This
has the benefit of not hitting /tmp so much (which is slow on some
filesystems). It also has the benefit that `ninja -C build clean` will
automatically remove the artifacts even if a test somehow failed to
remove its temporary directory (I've seen this happen when CTRL-C is
received).
More information about the All-commits
mailing list