[compiler-rt] a566e61 - Reland "[compiler-rt] [test] Allow expanding lit substitutions recursively"

Sergej Jaskiewicz via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 13:44:04 PDT 2020


Author: Sergej Jaskiewicz
Date: 2020-07-27T23:43:50+03:00
New Revision: a566e616202b2db8f3aa66c97e2c38f5e734adfb

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

LOG: Reland "[compiler-rt] [test] Allow expanding lit substitutions recursively"

The commit 8372d505082aceb38417e0b561cd32f2e227597b has been reverted
(eafeb8af34946306a7382fa3801cf6e39a1c7226) because it broke asan
tests on green dragon buildbots.

The underlying issue has been fixed in 4dd5c2bee366514cbc3fc4e6da46462bc11a0a3d.

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 fdc28a4637ff..d773f3766fd3 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