diff options
author | Abderrahim Kitouni <akitouni@gnome.org> | 2020-03-18 11:54:47 +0100 |
---|---|---|
committer | Abderrahim Kitouni <akitouni@gnome.org> | 2020-04-05 20:18:49 +0100 |
commit | 7715d08cf7e1b9bfb99674ed0d983a1a12dfae27 (patch) | |
tree | 3a6864a9c3764f2f9811518703f9ec45510ee0eb /tests/format/option-list-directive | |
parent | ec4a9fe9debb1d506a739f1b65748c8b612d7a09 (diff) | |
download | buildstream-7715d08cf7e1b9bfb99674ed0d983a1a12dfae27.tar.gz |
_project.py: resolve options before running the final assertionsabderrahim/options-1
otherwise, having an optional list append in the configuration wouldn't work
This also avoids special casing for element and source overrides
Diffstat (limited to 'tests/format/option-list-directive')
-rw-r--r-- | tests/format/option-list-directive/project.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/format/option-list-directive/project.conf b/tests/format/option-list-directive/project.conf new file mode 100644 index 000000000..5b2b64fe8 --- /dev/null +++ b/tests/format/option-list-directive/project.conf @@ -0,0 +1,18 @@ +name: test + +options: + shell_mount_devices: + type: bool + description: whether to mount devices in the shell + default: false + +shell: + host-files: + - '/etc/passwd' + - '/etc/group' + + (?): + - shell_mount_devices: + host-files: + (>): + - '/dev/dri' |