[PATCH] D38207: lit.py: Add new %{shared_output(LABEL)} substitution

Jordan Rose via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 05:04:13 PDT 2017


jordan_rose created this revision.

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.

Extracting out the simple, substitution-only part of https://reviews.llvm.org/D38010.


https://reviews.llvm.org/D38207

Files:
  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
  utils/lit/tests/Inputs/shared-output/primary.txt
  utils/lit/tests/Inputs/shared-output/secondary.txt
  utils/lit/tests/Inputs/shared-output/sub/sub.txt
  utils/lit/tests/shared-output.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38207.116434.patch
Type: text/x-patch
Size: 5721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/ef2259af/attachment.bin>


More information about the llvm-commits mailing list