diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-09-03 23:32:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-09-03 23:32:55 +0000 |
commit | 4b3e5f24ecedc075a3d9f1a5bdb77190a3a01f22 (patch) | |
tree | e46aa6b34045d11b4d362a4097ae3bf3e111fd0c /utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg | |
parent | 36b00f394fb03bd276d9343592bd718ddf4be789 (diff) | |
download | llvm-4b3e5f24ecedc075a3d9f1a5bdb77190a3a01f22.tar.gz llvm-4b3e5f24ecedc075a3d9f1a5bdb77190a3a01f22.tar.bz2 llvm-4b3e5f24ecedc075a3d9f1a5bdb77190a3a01f22.tar.xz |
[lit] Allow config files to pass arbitrary values to child configs.
- This aligns with how existing test suites end up wanting to use the local
config files, conceptually it makes sense to consider them to be inherited.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg')
-rw-r--r-- | utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg b/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg index 5ae6b3cd01..631cb602b0 100644 --- a/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg +++ b/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg @@ -1 +1,4 @@ config.suffixes = ['.py'] + +# Check that the arbitrary config values in our parent was inherited. +assert hasattr(config, 'an_extra_variable') |