import lit.formats
config.name = "substitutes-within-limit"
config.suffixes = [".py"]
config.test_format = lit.formats.ShTest()
config.test_source_root = None
config.test_exec_root = None
config.substitutions = [
("%rec1", "STOP"),
("%rec2", "%rec1"),
("%rec3", "%rec2"),
("%rec4", "%rec3"),
("%rec5", "%rec4"),
]
config.recursiveExpansionLimit = 5