Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/2] testplan/meson.build: don't generate testlist on cross-compilation
@ 2023-04-27 10:41 Mauro Carvalho Chehab
  2023-04-27 10:41 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915_pm_freq_api: add missing include Mauro Carvalho Chehab
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2023-04-27 10:41 UTC (permalink / raw)
  To: igt-dev

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

When doing cross-compilation, the binaries won't likely run at
the builder machine. So, it is not possible to verify if there are
documentation gaps.

On such cases, skip checking it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 docs/testplan/meson.build | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build
index 3347f61876ef..e36713960ccd 100644
--- a/docs/testplan/meson.build
+++ b/docs/testplan/meson.build
@@ -11,8 +11,13 @@ xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json')
 check_testlist = []
 if build_tests
 	doc_dependencies = test_executables
-	# Check if documentation matches the actual tests
-	check_testlist = [ '--check-testlist', '--igt-build-path', build_root ]
+	# Check if documentation matches the actual tests and tests can run
+	if not meson.is_cross_build()
+		build_info += 'Will Check if documentation is in sync with testlist'
+		check_testlist = [ '--check-testlist', '--igt-build-path', build_root ]
+	else
+		warning('WARNING: Will not check if documentation is in sync with testlist')
+	endif
 else
 	doc_dependencies = []
 endif
-- 
2.40.0

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

end of thread, other threads:[~2023-04-27 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-27 10:41 [igt-dev] [PATCH i-g-t 1/2] testplan/meson.build: don't generate testlist on cross-compilation Mauro Carvalho Chehab
2023-04-27 10:41 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915_pm_freq_api: add missing include Mauro Carvalho Chehab
2023-04-27 12:06   ` Andrzej Hajda
2023-04-27 12:02 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] testplan/meson.build: don't generate testlist on cross-compilation Patchwork
2023-04-27 12:05 ` [igt-dev] [PATCH i-g-t 1/2] " Andrzej Hajda
2023-04-27 14:55 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork

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