[igt-dev] [PATCH i-g-t v3 01/14] tests/intel-ci/meson.build: Generate and store an intel-ci.testlist

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Thu Jul 13 07:50:41 UTC 2023


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

Store a sorted testlist with tests that could be used to test the
DRM core and the Intel drivers in a format that it would be
expected by igt_runner.

This is a preparation to simplify test_list.py checks to make it
more generic.

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 tests/intel-ci/meson.build | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/intel-ci/meson.build b/tests/intel-ci/meson.build
index d5a6e4f47203..076f74d6b5d0 100644
--- a/tests/intel-ci/meson.build
+++ b/tests/intel-ci/meson.build
@@ -9,4 +9,13 @@ intelci_files = [
   'xe.blocklist.txt',
 ]
 
+built_testlist = custom_target('intel-ci.testlist',
+              build_by_default : true,
+              command : ['sort', testlist_files],
+              install : true,
+              install_dir : datadir,
+              depends : testlist_files,
+              capture : true,
+              output : 'intel-ci.testlist')
+
 install_data(sources : intelci_files, install_dir : datadir)
-- 
2.40.1



More information about the igt-dev mailing list