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

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Jul 12 13:58:42 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.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 tests/intel-ci/meson.build | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/intel-ci/meson.build b/tests/intel-ci/meson.build
index d5a6e4f47203..a1ec517f8da1 100644
--- a/tests/intel-ci/meson.build
+++ b/tests/intel-ci/meson.build
@@ -9,4 +9,12 @@ intelci_files = [
   'xe.blocklist.txt',
 ]
 
+custom_target('intel-ci.testlist',
+              build_by_default : true,
+              command : ['sort', testlist_files],
+              install : true,
+              install_dir : datadir,
+              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