Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/amdgpu: add amdgpu test suite
@ 2023-11-02 11:06 Jesse Zhang
  2023-11-02 12:04 ` [igt-dev] ✗ Fi.CI.BUILD: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jesse Zhang @ 2023-11-02 11:06 UTC (permalink / raw)
  To: igt-dev; +Cc: Tim Huang, Luben Tuikov, Alex Deucher, Christian Koenig

Add some amdgpu test suite to tester.

Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Cc: Luben Tuikov <luben.tuikov@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Tim Huang <tim.huang@amd.com>

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
---
 tests/meson.build | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/tests/meson.build b/tests/meson.build
index 62721157d..9d9f302de 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -83,6 +83,28 @@ test_progs = [
 	'vgem_slow',
 ]
 
+amd_gpu_progs = [
+	'amd_module_load',
+	'amd_basic',
+	'amd_pstate',
+	'amd_dispatch',
+	'amd_bo',
+	'amd_cs_nop',
+	'amd_deadlock',
+	'amd_mem_leak',
+	'amd_security',
+	'amd_syncobj',
+	'amd_uvd_dec',
+	'amd_uvd_enc',
+	'amd_vce_dec',
+	'amd_vcn',
+	'amd_vm',
+	'amd_hotplug',
+	'amd_info',
+	'amd_pci_unplug',
+	'amd_ras',
+]
+
 intel_i915_xe_progs = [
 	'api_intel_allocator',
 	'intel_hwmon',
@@ -398,6 +420,25 @@ foreach prog : test_progs
 	endif
 endforeach
 
+foreach prog : amd_gpu_progs
+	testexe = executable(prog,
+                  [join_paths('amdgpu', prog + '.c')] + extra_sources.get(prog, []),
+		   dependencies : test_deps + extra_dependencies.get(prog, []),
+		   install_dir : libexecdir,
+		   install_rpath : libexecdir_rpathdir,
+		   install : true)
+	test_executables += testexe
+	test_list += prog
+	name = prog.split('/').get(-1)
+	if not meson.is_cross_build()
+		testlist_files += custom_target(name + '.testlist',
+			    build_by_default : true,
+			    command : [testexe, '--show-testlist'],
+			    capture : true,
+			    output : name + '.testlist')
+	endif
+endforeach
+
 intel_progs = intel_i915_xe_progs
 intel_progs += intel_i915_progs + intel_kms_progs
 if build_xe
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-03  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02 11:06 [igt-dev] [PATCH i-g-t] tests/amdgpu: add amdgpu test suite Jesse Zhang
2023-11-02 12:04 ` [igt-dev] ✗ Fi.CI.BUILD: failure for " Patchwork
2023-11-02 12:08 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
2023-11-03  2:11 ` [igt-dev] [PATCH i-g-t] " Zhang, Jesse(Jie)
2023-11-03  3:00 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/amdgpu: add amdgpu test suite (rev2) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox