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:
@@ -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' ],
|
||||
|
Reference in New Issue
Block a user