summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2018-06-19 22:22:48 +0000
committerKuba Mracek <mracek@apple.com>2018-06-19 22:22:48 +0000
commit77920a49282b5b46aad575d6e83908fb0ff9f6e0 (patch)
tree906d60c9480765aa43c416cbb01d963a73038b0b /llvm/docs
parent85afc93f8a004294edd37045838b4a82e910523f (diff)
downloadbcm5719-llvm-77920a49282b5b46aad575d6e83908fb0ff9f6e0.tar.gz
bcm5719-llvm-77920a49282b5b46aad575d6e83908fb0ff9f6e0.zip
[llvm] Document "%T" as deprecated in TestingGuide.rst
Differential Revision: https://reviews.llvm.org/D48189 llvm-svn: 335080
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/TestingGuide.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index a27da0de4d0..3cc8cf4589b 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -460,7 +460,10 @@ RUN lines:
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``
OpenPOWER on IntegriCloud