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

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 12:34:43 PDT 2017


delcypher added inline comments.


================
Comment at: docs/TestingGuide.rst:459
+   some redirected output. If your test needs a temporary directory, you can
+   use ``mkdir -p %t``.
 
----------------
What are we supposed to do to have a test written that way to work on Windows? There is a `mkdir` command but I'm not familiar enough with it to know if doing `mkdir "%t"` will work. It certainly doesn't take a `-p` argument.


https://reviews.llvm.org/D35396





More information about the llvm-commits mailing list