[igt-dev] [PATCH i-g-t] [RFC] tests/meson.build: add gem_stress to test-list.txt

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue Sep 12 10:30:11 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

Currently, gem_stress is a special case: while it is built,
igt_runner won't run it, as it doesn't belong to test-list.txt,
as it is not added to the list of executables, so the script
which generates test-list.txt silently ignores it.

Fix it by moving it to the list of tests that run on i915.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 tests/meson.build | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/tests/meson.build b/tests/meson.build
index 92729e0c3c26..24b196037dd9 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -193,6 +193,7 @@ intel_i915_progs = [
 	'gem_shrink',
 	'gem_softpin',
 	'gem_spin_batch',
+	'gem_stress',
 	'gem_streaming_writes',
 	'gem_sync',
 	'gem_tiled_blits',
@@ -485,19 +486,6 @@ foreach prog : test_list
 	test('testcase check ' + prog, test_script, args : prog)
 endforeach
 
-testexe = executable('gem_stress', 'intel/gem_stress.c',
-	   install : true,
-	   install_dir : libexecdir,
-	   install_rpath : libexecdir_rpathdir,
-	   dependencies : igt_deps)
-if not meson.is_cross_build()
-	testlist_files += custom_target('gem_stress.testlist',
-			build_by_default : true,
-			command : [testexe, '--show-testlist'],
-			capture : true,
-			output : 'gem_stress.testlist')
-endif
-
 image_files = [
   '1080p-left.png',
   '1080p-right.png',
-- 
2.41.0



More information about the igt-dev mailing list