Skip to content

Commit 37e7ad1

Browse files
[libcxx] Add local %T substitution
This patch adds a %T substitution directly into the libc++ test format. This ensures that the libc++ test format will continue to work when we remove support for %T in llvm lit. Reviewers: #reviewers-libcxx, ldionne, philnik777 Pull Request: #160026
1 parent f9065fc commit 37e7ad1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/utils/libcxx/test/format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def parseScript(test, preamble):
9292
# errors, which doesn't make sense for clang-verify tests because we may want to check
9393
# for specific warning diagnostics.
9494
_checkBaseSubstitutions(substitutions)
95+
substitutions.append(("%T", tmpDir))
9596
substitutions.append(
9697
("%{build}", "%{cxx} %s %{flags} %{compile_flags} %{link_flags} -o %t.exe")
9798
)

0 commit comments

Comments
 (0)