[PATCH] D48189: [llvm] Document "%T" as deprecated in TestingGuide.rst

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 15:27:37 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335080: [llvm] Document "%T" as deprecated in TestingGuide.rst (authored by kuba.brecka, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48189?vs=151413&id=151989#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48189

Files:
  llvm/trunk/docs/TestingGuide.rst


Index: llvm/trunk/docs/TestingGuide.rst
===================================================================
--- llvm/trunk/docs/TestingGuide.rst
+++ llvm/trunk/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.151989.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/6ff2c5de/attachment.bin>


More information about the llvm-commits mailing list