[compiler-rt] 8372d50 - [compiler-rt] [test] Allow expanding lit substitutions recursively

Sergej Jaskiewicz via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 09:49:31 PDT 2020


Author: Sergej Jaskiewicz
Date: 2020-07-09T19:49:18+03:00
New Revision: 8372d505082aceb38417e0b561cd32f2e227597b

URL: https://github.com/llvm/llvm-project/commit/8372d505082aceb38417e0b561cd32f2e227597b
DIFF: https://github.com/llvm/llvm-project/commit/8372d505082aceb38417e0b561cd32f2e227597b.diff

LOG: [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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 7c98c387c870..32a602bfb318 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -23,6 +23,9 @@
     # bash on Windows is usually very slow.
     execute_external = (not sys.platform in ['win32'])
 
+# Allow expanding substitutions that are based on other substitutions
+config.recursiveExpansionLimit = 10
+
 # Setup test format.
 config.test_format = lit.formats.ShTest(execute_external)
 if execute_external:


        


More information about the llvm-commits mailing list