aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-04-22 18:22:17 -0400
committerDavid Robillard <d@drobilla.net>2022-04-23 21:19:22 -0400
commit7a51a9f66332f758c0b590598f0a43ad14686c5a (patch)
treed197347988c0bbdf9aacf42e49be9ed919563ddb
parentb0759696d15d24f9e82318d9c27cb794a4787c9c (diff)
downloadpugl-7a51a9f66332f758c0b590598f0a43ad14686c5a.tar.gz
pugl-7a51a9f66332f758c0b590598f0a43ad14686c5a.tar.bz2
pugl-7a51a9f66332f758c0b590598f0a43ad14686c5a.zip
Put unit tests in a "unit" suite
This enables running them without the data tests (which can be annoying while working in a messy repo), and for bonus points makes the log output look more uniform.
-rw-r--r--test/meson.build12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/meson.build b/test/meson.build
index 893d824..d8b27a9 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -82,7 +82,8 @@ foreach test : basic_tests
executable('test_' + test, 'test_@0@.c'.format(test),
c_args: test_c_args,
include_directories: include_directories(includes),
- dependencies: [pugl_dep, stub_backend_dep]))
+ dependencies: [pugl_dep, stub_backend_dep]),
+ suite: 'unit')
endforeach
if opengl_dep.found()
@@ -91,7 +92,8 @@ if opengl_dep.found()
executable('test_' + test, 'test_@0@.c'.format(test),
c_args: test_c_args,
include_directories: include_directories(includes),
- dependencies: [pugl_dep, gl_backend_dep]))
+ dependencies: [pugl_dep, gl_backend_dep]),
+ suite: 'unit')
endforeach
endif
@@ -101,7 +103,8 @@ if cairo_dep.found()
executable('test_' + test, 'test_@0@.c'.format(test),
c_args: test_c_args,
include_directories: include_directories(includes),
- dependencies: [pugl_dep, cairo_backend_dep]))
+ dependencies: [pugl_dep, cairo_backend_dep]),
+ suite: 'unit')
endforeach
endif
@@ -112,7 +115,8 @@ if vulkan_dep.found()
c_args: test_c_args,
cpp_args: test_cpp_args,
include_directories: include_directories(includes),
- dependencies: [pugl_dep, vulkan_backend_dep]))
+ dependencies: [pugl_dep, vulkan_backend_dep]),
+ suite: 'unit')
endforeach
endif