diff options
author | David Robillard <d@drobilla.net> | 2021-05-06 17:14:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-06 17:14:52 -0400 |
commit | 089c119689ede4f4414e36da6e1aadd1c02b1eae (patch) | |
tree | b25be113ecc87658cc12390cbf4f5aa75dc3fbd6 /test/meson.build | |
parent | af3dea4bb671e97eeb5fd2208f691f5e746a3b69 (diff) | |
download | pugl-089c119689ede4f4414e36da6e1aadd1c02b1eae.tar.gz pugl-089c119689ede4f4414e36da6e1aadd1c02b1eae.tar.bz2 pugl-089c119689ede4f4414e36da6e1aadd1c02b1eae.zip |
Add basic test for Vulkan support
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/test/meson.build b/test/meson.build index 35da4c8..3f8da96 100644 --- a/test/meson.build +++ b/test/meson.build @@ -13,12 +13,16 @@ basic_tests = [ 'world', ] +cairo_tests = [ + 'cairo' +] + gl_tests = [ 'gl_hints' ] -cairo_tests = [ - 'cairo' +vulkan_tests = [ + 'vulkan' ] includes = [ @@ -50,3 +54,12 @@ if cairo_dep.found() dependencies: [pugl_dep, cairo_backend_dep])) endforeach endif + +if vulkan_dep.found() + foreach test : vulkan_tests + test(test, + executable('test_' + test, 'test_@0@.c'.format(test), + include_directories: include_directories(includes), + dependencies: [pugl_dep, vulkan_backend_dep])) + endforeach +endif |