[PATCH] D35396: [lit] Make %T return a per-test temporary directory

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 09:41:43 PDT 2017


rnk added a comment.

In https://reviews.llvm.org/D35396#809645, @kubamracek wrote:

> I'm not suggesting to `mkdir` a new directory for each test.  `%T` will point to a non-existent directory, just like `%t` points to a non-existent file.  If the tests wants to use `%T`, it will have to `mkdir` it.


lit already ensures that tmpDir exists, so that's what this change will do. Look for callers of getTempPaths.


https://reviews.llvm.org/D35396





More information about the llvm-commits mailing list