From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] testplan/meson.build: only run igt_runner if it is compiled
Date: Tue, 4 Apr 2023 07:02:21 +0200 [thread overview]
Message-ID: <20230404050221.189356-1-mauro.chehab@linux.intel.com> (raw)
From: Mauro Carvalho Chehab <mchehab@kernel.org>
While the runner is built by default, if jsonc is not found, it
won't be build. This will cause the documentation validation test
to cause the build to fail.
Prevent that by adding an extra check if jsonc is found, as this
is the same condition that it is used to build igt_runner.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
docs/testplan/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build
index 4c67ec42fc69..88029bee5af3 100644
--- a/docs/testplan/meson.build
+++ b/docs/testplan/meson.build
@@ -9,7 +9,7 @@ stylesheet = join_paths(meson.current_source_dir(), 'testplan.css')
xe_test_config = join_paths(source_root, 'tests', 'xe', 'xe_test_config.json')
check_testlist = []
-if build_tests
+if build_tests and jsonc.found()
# Check if documentation matches the actual tests
check_testlist = [ '--check-testlist', '--igt-build-path', build_root ]
else
--
2.39.2
next reply other threads:[~2023-04-04 5:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 5:02 Mauro Carvalho Chehab [this message]
2023-04-04 5:34 ` [igt-dev] ✓ Fi.CI.BAT: success for testplan/meson.build: only run igt_runner if it is compiled Patchwork
2023-04-04 10:09 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230404050221.189356-1-mauro.chehab@linux.intel.com \
--to=mauro.chehab@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox