OSDN Git Service

lit.py: Add new %{shared_output(LABEL)} substitution
authorJordan Rose <jordan_rose@apple.com>
Fri, 13 Oct 2017 16:12:23 +0000 (16:12 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 13 Oct 2017 16:12:23 +0000 (16:12 +0000)
commite9bafbf37011514827bfe32bb81d3f4e59f206da
tree1b5ac16171633e94ba00fb8f88e6e2264a65da55
parentb5a710de5a6af31df873d0fbe32adb75c130254a
lit.py: Add new %{shared_output(LABEL)} substitution

This refers to a temporary path that can be shared across all tests,
identified by a particular label. This can be used for things like
caches.

At the moment, the character set for the LABEL is limited to C
identifier characters, plus '-', '+', '=', and '.'. This is the same
set of characters currently allowed in REQUIRES clause identifiers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315697 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/lit.rst
docs/TestingGuide.rst
utils/lit/lit/TestRunner.py
utils/lit/lit/run.py
utils/lit/tests/Inputs/shared-output/lit.cfg [new file with mode: 0644]
utils/lit/tests/Inputs/shared-output/primary.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shared-output/secondary.txt [new file with mode: 0644]
utils/lit/tests/Inputs/shared-output/sub/sub.txt [new file with mode: 0644]
utils/lit/tests/shared-output.py [new file with mode: 0644]