Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] meson: fix testplan building for old meson
@ 2023-05-15 16:39 Kamil Konieczny
  2023-05-15 17:32 ` Petri Latvala
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kamil Konieczny @ 2023-05-15 16:39 UTC (permalink / raw)
  To: igt-dev

Old meson 0.47.2 do not support dictionary adding so fix
testplan building.

Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 docs/testplan/meson.build | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build
index 2014f91b5..6454f2933 100644
--- a/docs/testplan/meson.build
+++ b/docs/testplan/meson.build
@@ -27,12 +27,15 @@ xe_test_dict = {
 		 'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist }
 	       }
 
-test_dict = {
+if build_xe
+	test_dict = {
+		'kms_tests': { 'input': kms_test_config, 'extra_args': [] },
+		'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist }
+	    }
+else
+	test_dict = {
 	      'kms_tests': { 'input': kms_test_config, 'extra_args': [] }
 	    }
-
-if build_xe
-	test_dict += xe_test_dict
 endif
 
 foreach testplan, fields: test_dict
-- 
2.39.2



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

end of thread, other threads:[~2023-05-16 13:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 16:39 [igt-dev] [PATCH i-g-t] meson: fix testplan building for old meson Kamil Konieczny
2023-05-15 17:32 ` Petri Latvala
2023-05-15 17:33 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-15 22:30 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-16  6:42 ` [igt-dev] [PATCH i-g-t] " Mauro Carvalho Chehab
2023-05-16 13:30   ` Petri Latvala

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