File: meson.build

package info (click to toggle)
intel-gpu-tools 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,368 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (55 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
lib_tests = [
	'igt_assert',
	'igt_abort',
	'igt_can_fail',
	'igt_can_fail_simple',
	'igt_conflicting_args',
	'igt_describe',
	'igt_dynamic_subtests',
	'igt_edid',
	'igt_exit_handler',
	'igt_facts',
	'igt_fork',
	'igt_fork_helper',
	'igt_hook',
	'igt_hook_integration',
        'igt_ktap_parser',
	'igt_list_only',
	'igt_invalid_subtest_name',
	'igt_nesting',
	'igt_no_exit',
	'igt_runnercomms_packets',
	'igt_segfault',
	'igt_simulation',
	'igt_stats',
	'igt_subtest_group',
	'igt_thread',
	'igt_types',
	'i915_perf_data_alignment',
]

lib_fail_tests = [
	'bad_subtest_type',
	'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