From c8b528b020fe9f2004c7b3828b693fc16f49ebd0 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 21 Apr 2023 14:38:26 +0200 Subject: [PATCH] tests: Add some tests to the test suite test-mount-matrix and test-orientation were both built, but never run as part of the automated test suite. --- src/meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/meson.build b/src/meson.build index 8ddd37b..68af38f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -50,18 +50,22 @@ executable('fake-input-accelerometer', install: false ) -executable('test-mount-matrix', +test_mount_matrix = executable('test-mount-matrix', [ 'test-mount-matrix.c', 'accel-mount-matrix.c' ], dependencies: deps, install: false ) -executable('test-orientation', +test('test-mount-matrix', test_mount_matrix) + +test_orientation = executable('test-orientation', [ 'test-orientation.c', 'orientation.c', 'accel-mount-matrix.c', 'accel-scale.c' ], dependencies: deps, install: false ) +test('test-orientation', test_orientation) + if get_option('gtk-tests') executable('test-orientation-gtk', [ 'test-orientation-gtk.c', 'orientation.c', 'accel-scale.c' ],