Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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).
- Loading branch information
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters