summaryrefslogtreecommitdiffstats
path: root/test cases/unit/31 forcefallback/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/unit/31 forcefallback/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/31 forcefallback/meson.build b/test cases/unit/31 forcefallback/meson.build
new file mode 100644
index 0000000..8d84a60
--- /dev/null
+++ b/test cases/unit/31 forcefallback/meson.build
@@ -0,0 +1,9 @@
+project('mainproj', 'c',
+ default_options : [])
+
+zlib_dep = dependency('zlib', fallback: ['notzlib', 'zlib_dep'])
+notfound_dep = dependency('cannotabletofind', fallback: ['definitelynotfound', 'some_var'], required : false)
+
+test_not_zlib = executable('test_not_zlib', ['test_not_zlib.c'], dependencies: [zlib_dep, notfound_dep])
+
+test('test_not_zlib', test_not_zlib)