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.
This commit is contained in:
Bastien Nocera
2023-04-21 14:38:26 +02:00
parent 43f093115f
commit c8b528b020

View File

@@ -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' ],