tests: Initial test and benchmark setup

Add a unit test for wlr_box and benchmark for wlr_scene_node_at as our
first test examples, lowering the barrier for adding more tests as
suitable.
This commit is contained in:
Kenny Levinsen 2026-02-26 17:12:41 +01:00 committed by Simon Ser
parent ff7d093800
commit 648790f43a
5 changed files with 318 additions and 0 deletions

10
test/meson.build Normal file
View file

@ -0,0 +1,10 @@
test(
'box',
executable('test-box', 'test_box.c', dependencies: wlroots),
)
benchmark(
'scene',
executable('bench-scene', 'bench_scene.c', dependencies: wlroots),
timeout: 30,
)