summaryrefslogtreecommitdiff
path: root/tests/amdgpu/meson.build
blob: 4208637423ff57d671c08ec0aecf547648b6084b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

amdgpu_progs = []
amdgpu_deps = test_deps
if libdrm_amdgpu.found()
	amdgpu_progs += [ 'amd_abm',
			  'amd_basic',
			  'amd_color',
			  'amd_cs_nop',
			  'amd_prime',
			]
	amdgpu_deps += libdrm_amdgpu
endif

foreach prog : amdgpu_progs
	test_executables += executable(prog, prog + '.c',
				       dependencies : amdgpu_deps,
				       install_dir : amdgpudir,
				       install_rpath : amdgpudir_rpathdir,
				       install : true)
	test_list += join_paths('amdgpu', prog)
endforeach