diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-12-05 11:42:50 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-10 20:17:21 +0200 |
commit | fc800a2cb8cb754e55db1b6ede287079d44dc244 (patch) | |
tree | 7c6bdfd3f92594968c7ec6b08485eb99c6e9dbda /test cases | |
parent | 38d3fbca9465e4c89e479be5a98b5085a7f83039 (diff) | |
download | meson-fc800a2cb8cb754e55db1b6ede287079d44dc244.zip meson-fc800a2cb8cb754e55db1b6ede287079d44dc244.tar.gz meson-fc800a2cb8cb754e55db1b6ede287079d44dc244.tar.bz2 |
mintro: Add version key to --scan-dependencies (fixes #6287)
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/unit/57 introspection/meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test cases/unit/57 introspection/meson.build b/test cases/unit/57 introspection/meson.build index 7589f3f..a094a55 100644 --- a/test cases/unit/57 introspection/meson.build +++ b/test cases/unit/57 introspection/meson.build @@ -13,8 +13,9 @@ set_variable('list_test_plusassign', []) list_test_plusassign += ['bugs everywhere'] if false - dependency('somethingthatdoesnotexist', required: true) - dependency('look_i_have_a_fallback', fallback: ['oh_no', 'the_subproject_does_not_exist']) + vers_str = '<=99.9.9' + dependency('somethingthatdoesnotexist', required: true, version: '>=1.2.3') + dependency('look_i_have_a_fallback', version: ['>=1.0.0', vers_str], fallback: ['oh_no', 'the_subproject_does_not_exist']) endif subdir('sharedlib') |