You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
859 B
44 lines
859 B
4 months ago
|
lib_tests = [
|
||
|
'igt_assert',
|
||
|
'igt_can_fail',
|
||
|
'igt_can_fail_simple',
|
||
|
'igt_conflicting_args',
|
||
|
'igt_describe',
|
||
|
'igt_edid',
|
||
|
'igt_exit_handler',
|
||
|
'igt_fork',
|
||
|
'igt_fork_helper',
|
||
|
'igt_list_only',
|
||
|
'igt_invalid_subtest_name',
|
||
|
'igt_no_exit',
|
||
|
'igt_segfault',
|
||
|
'igt_simulation',
|
||
|
'igt_stats',
|
||
|
'igt_subtest_group',
|
||
|
]
|
||
|
|
||
|
lib_fail_tests = [
|
||
|
'igt_no_subtest',
|
||
|
'igt_simple_test_subtests',
|
||
|
'igt_timeout',
|
||
|
]
|
||
|
|
||
|
lib_tests_deps = igt_deps
|
||
|
|
||
|
if chamelium.found()
|
||
|
lib_deps += chamelium
|
||
|
lib_tests += 'igt_audio'
|
||
|
endif
|
||
|
|
||
|
foreach lib_test : lib_tests
|
||
|
exec = executable(lib_test, lib_test + '.c', install : false,
|
||
|
dependencies : igt_deps)
|
||
|
test('lib: ' + lib_test, exec)
|
||
|
endforeach
|
||
|
|
||
|
foreach lib_test : lib_fail_tests
|
||
|
exec = executable(lib_test, lib_test + '.c', install : false,
|
||
|
dependencies : igt_deps)
|
||
|
test('lib: ' + lib_test, exec, should_fail : true)
|
||
|
endforeach
|