diff options
Diffstat (limited to 'test cases/frameworks')
-rw-r--r-- | test cases/frameworks/31 curses/meson.build | 2 | ||||
-rw-r--r-- | test cases/frameworks/31 curses/meson_options.txt | 6 | ||||
-rw-r--r-- | test cases/frameworks/31 curses/test.json | 10 |
3 files changed, 17 insertions, 1 deletions
diff --git a/test cases/frameworks/31 curses/meson.build b/test cases/frameworks/31 curses/meson.build index 21483fb..66e0957 100644 --- a/test cases/frameworks/31 curses/meson.build +++ b/test cases/frameworks/31 curses/meson.build @@ -1,6 +1,6 @@ project('curses', 'c') -curses = dependency('curses', required: false) +curses = dependency('curses', required: false, method : get_option('method')) if not curses.found() error('MESON_SKIP_TEST: Curses library not found') endif diff --git a/test cases/frameworks/31 curses/meson_options.txt b/test cases/frameworks/31 curses/meson_options.txt new file mode 100644 index 0000000..3a587f4 --- /dev/null +++ b/test cases/frameworks/31 curses/meson_options.txt @@ -0,0 +1,6 @@ +option( + 'method', + type : 'combo', + choices : ['pkg-config', 'config-tool'], + value : 'pkg-config', +) diff --git a/test cases/frameworks/31 curses/test.json b/test cases/frameworks/31 curses/test.json new file mode 100644 index 0000000..0de1f73 --- /dev/null +++ b/test cases/frameworks/31 curses/test.json @@ -0,0 +1,10 @@ +{ + "matrix": { + "options": { + "method": [ + { "val": "pkg-config" }, + { "val": "config-tool" } + ] + } + } +} |