From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v2 12/12] runner/meson.build: fix minimal build
Date: Fri, 31 Mar 2023 12:46:47 +0200 [thread overview]
Message-ID: <20230331124647.22b4212a@maurocar-mobl2> (raw)
In-Reply-To: <20230331123919.4ac06363@maurocar-mobl2>
On Fri, 31 Mar 2023 12:39:19 +0200
Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> wrote:
> On Fri, 31 Mar 2023 11:13:19 +0200
> Kamil Konieczny <kamil.konieczny@linux.intel.com> wrote:
>
> > Hi Mauro,
> >
> > On 2023-03-30 at 07:42:21 +0200, Mauro Carvalho Chehab wrote:
> > > From: Mauro Carvalho Chehab <mchehab@kernel.org>
> > >
> > > Minimal pipeline s now failing:
> > ------------------ ^
> > s/s/is/
> >
> > > https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/38824636
> > >
> > > This doesn't seem to be related to the patches at the series from
> > > where the issue was reported, but addressing it is simple enough:
> > > just remove the error and change the logic to properly validate
> > > the possible options.
> > >
> > > Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
> > > ---
> > > runner/meson.build | 6 +-----
> > > 1 file changed, 1 insertion(+), 5 deletions(-)
> > >
> > > diff --git a/runner/meson.build b/runner/meson.build
> > > index dadfc75f0ca7..c62303ce35c5 100644
> > > --- a/runner/meson.build
> > > +++ b/runner/meson.build
> > > @@ -24,11 +24,7 @@ if liboping.found()
> > > runner_c_args += '-DHAVE_OPING=1'
> > > endif
> > >
> > > -if not build_tests and jsonc.found()
> > > - error('Building test runner requires building tests')
> > > -endif
> >
> > imho:
> > if jsonc.found() and not build_tests
> >
> > is more clear what we need here.
>
> IMO, this is less clear ;-) I mean, refusing to run because jsonc is
> installed and -Dtests=false sounds a very bad idea.
>
> What we want instead is to have the runner built only if build_tests
> is selected (and the required jsonc library is installed).
Btw, this error can be seen vanilla upstream if you have json-c installed
on some machine and run:
$ meson -Dtests=disabled build-err
The Meson build system
Version: 0.53.2
...
Run-time dependency json-c found: YES 0.13.1
...
runner/meson.build:28:1: ERROR: Problem encountered: Building test runner requires building tests
A full log can be found at /home/mchehab/freedesktop-igt/build-err/meson-logs/meson-log.txt
Regards,
Mauro
next prev parent reply other threads:[~2023-03-31 10:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-30 5:42 [igt-dev] [PATCH i-g-t v2 00/12] Improve igt_doc.py Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 01/12] xe_test_config.json: do some adjustments at the output hierarchy Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 02/12] scripts/igt_doc.py: move show_subtests logic to the class Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 03/12] scripts/igt_doc.py: add support to generate testlists Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 04/12] scripts/igt_doc.py: prepare to place TestList class on a separate file Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 05/12] scripts/test_list.py: prepare to place " Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 06/12] scripts/igt_doc.py: re-introduce it by calling test_list.py Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 07/12] scripts/test_list.py: better handle documentation validation issues Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 08/12] scripts/test_list.py: add support for igt_simple_main Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 09/12] testplan/meson.build: Validate documentation at build time Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 10/12] xe/xe_vm: add documentation for igt@xe_vm@userptr-invalid Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 11/12] xe/xe_noexec_ping_pong: document subtest Mauro Carvalho Chehab
2023-03-30 5:42 ` [igt-dev] [PATCH i-g-t v2 12/12] runner/meson.build: fix minimal build Mauro Carvalho Chehab
2023-03-31 9:13 ` Kamil Konieczny
2023-03-31 10:39 ` Mauro Carvalho Chehab
2023-03-31 10:46 ` Mauro Carvalho Chehab [this message]
2023-03-31 11:10 ` Kamil Konieczny
2023-03-30 6:25 ` [igt-dev] ✗ GitLab.Pipeline: warning for Improve igt_doc.py (rev2) Patchwork
2023-03-30 6:42 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-03-31 1:46 ` [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=20230331124647.22b4212a@maurocar-mobl2 \
--to=mauro.chehab@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
/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