diff options
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 0000000..c0ec9fb --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,22 @@ +# ggaze tests — two tracks (see docs/IMPLEMENTATION.md "Two test tracks"). +# +# unit plain-C module tests, no display needed (>=80% coverage gate, +# warn until M10 then fail). +# integration cross-module flows with real temp dirs + offscreen GTK. +# +# Run one track: meson test -C build --suite unit +# meson test -C build --suite integration +# Coverage: meson setup -Db_coverage=true build +# meson test -C build +# ninja -C build coverage (needs lcov + genhtml) + +test_bootstrap = executable( + 'test_bootstrap', + ['test_bootstrap.c', ggaze_conf_h], + include_directories : inc, + dependencies : [glib_dep], + install : false, +) +test('bootstrap', test_bootstrap, suite : 'unit') + +subdir('integration')
\ No newline at end of file |
