[PATCH] D48189: [llvm] Document "%T" as deprecated in TestingGuide.rst
Kuba (Brecka) Mracek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 14 13:20:45 PDT 2018
kubamracek updated this revision to Diff 151413.
https://reviews.llvm.org/D48189
Files:
docs/TestingGuide.rst
Index: docs/TestingGuide.rst
===================================================================
--- docs/TestingGuide.rst
+++ docs/TestingGuide.rst
@@ -460,7 +460,10 @@
Example: ``/home/user/llvm.build/test/MC/ELF/Output/foo_test.s.tmp``
``%T``
- Directory of ``%t``.
+ Directory of ``%t``. Deprecated. Shouldn't be used, because it can be easily
+ misused and cause race conditions between tests.
+
+ Use ``rm -rf %t && mkdir %t`` instead if a temporary directory is necessary.
Example: ``/home/user/llvm.build/test/MC/ELF/Output``
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48189.151413.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/f39de771/attachment.bin>
More information about the llvm-commits
mailing list