| 1 |
import lit.formats |
| 2 |
|
| 3 |
config.name = "top-level-suite" |
| 4 |
config.suffixes = [".txt"] |
| 5 |
config.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). |
| 15 |
config.an_extra_variable = False |
| 16 |
|
| 17 |
# Check that available_features are printed by --show-suites (and in the right order) |
| 18 |
config.available_features = ["feature2", "feature1"] |
| 19 |
|
| 20 |
# Check that substitutions are printed by --show-suites (and in the right order) |
| 21 |
config.substitutions = [("%key2", "value2"), ("%key1", "value1")] |