The LitConfig is shared across the whole test suite. However, since enabling recursive expansion can be a breaking change for some test suites, it's important to confine the setting to test suites that enable it explicitly. Note that other issues were raised with the way recursiveExpansionLimit operates. However, this commit simply moves the setting to the right place -- the mechanism by which it works can be improved independently. Differential Revision: https://reviews.llvm.org/D77415
9 lines
217 B
INI
9 lines
217 B
INI
import lit.formats
|
|
config.name = 'negative-integer'
|
|
config.suffixes = ['.py']
|
|
config.test_format = lit.formats.ShTest()
|
|
config.test_source_root = None
|
|
config.test_exec_root = None
|
|
|
|
config.recursiveExpansionLimit = -4
|