Skip to content

Commit 8372d50

Browse files
committed
[compiler-rt] [test] Allow expanding lit substitutions recursively
Summary: This allows using lit substitutions in the `COMPILER_RT_EMULATOR` variable. (For reference, the ability to expand substitutions recursively has been introduced in https://reviews.llvm.org/D76178.) Reviewers: phosek, compnerd Reviewed By: compnerd Subscribers: dberris, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D83489
1 parent 6f69318 commit 8372d50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/test/lit.common.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
# bash on Windows is usually very slow.
2424
execute_external = (not sys.platform in ['win32'])
2525

26+
# Allow expanding substitutions that are based on other substitutions
27+
config.recursiveExpansionLimit = 10
28+
2629
# Setup test format.
2730
config.test_format = lit.formats.ShTest(execute_external)
2831
if execute_external:

0 commit comments

Comments
 (0)