aboutsummaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-03 15:47:54 -0400
committerDavid Robillard <d@drobilla.net>2021-05-03 18:30:39 -0400
commit931490c28a52d83ffc7fd9fc8c6e04349f4d63b1 (patch)
tree08e22505ad8d8dbd6c0b731eaa41657a71222f69 /test/meson.build
parentb483856ff188041f58a934c32c963cb49416a52d (diff)
downloadpugl-931490c28a52d83ffc7fd9fc8c6e04349f4d63b1.tar.gz
pugl-931490c28a52d83ffc7fd9fc8c6e04349f4d63b1.tar.bz2
pugl-931490c28a52d83ffc7fd9fc8c6e04349f4d63b1.zip
Improve test coverage
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index 340a7dd..47ef87f 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -2,15 +2,23 @@ basic_tests = [
'realize',
'redisplay',
'show_hide',
+ 'size',
+ 'strerror',
'stub_hints',
'timer',
'update',
+ 'view',
+ 'world',
]
gl_tests = [
'gl_hints'
]
+cairo_tests = [
+ 'cairo'
+]
+
includes = [
'.',
'../include',
@@ -31,3 +39,12 @@ if opengl_dep.found()
dependencies: [pugl_dep, gl_backend_dep]))
endforeach
endif
+
+if cairo_dep.found()
+ foreach test : cairo_tests
+ test(test,
+ executable('test_' + test, 'test_@0@.c'.format(test),
+ include_directories: include_directories(includes),
+ dependencies: [pugl_dep, cairo_backend_dep]))
+ endforeach
+endif