1import lit.formats 2 3config.name = "top-level-suite" 4config.suffixes = [".txt"] 5config.test_format = lit.formats.ShTest() 6 7# We intentionally don't set the source root or exec root directories here, 8# because this suite gets reused for testing the exec root behavior (in 9# ../exec-discovery). 10# 11# config.test_source_root = None 12# config.test_exec_root = None 13 14# Check that arbitrary config values are copied (tested by subdir/lit.local.cfg). 15config.an_extra_variable = False 16 17# Check that available_features are printed by --show-suites (and in the right order) 18config.available_features = ["feature2", "feature1"] 19 20# Check that substitutions are printed by --show-suites (and in the right order) 21config.substitutions = [("%key2", "value2"), ("%key1", "value1")] 22