devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org,
	"Marc-André Lureau"
	<marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 2/5] meson: do not assume python is installed, skip tests
Date: Mon,  7 Dec 2020 17:00:52 +0400	[thread overview]
Message-ID: <20201207130055.462734-3-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <20201207130055.462734-1-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

From: Marc-André Lureau <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Signed-off-by: Marc-André Lureau <marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 tests/meson.build | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/meson.build b/tests/meson.build
index 8976dc1..9d3a4e7 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -108,14 +108,14 @@ endforeach
 
 run_tests = find_program('run_tests.sh')
 
-
-env = [
-  'PYTHON=' + py.path(),
-  'PYTHONPATH=' + meson.source_root() / 'pylibfdt',
-]
-
+env = []
 if not py.found()
   env += 'NO_PYTHON=1'
+else
+  env += [
+    'PYTHON=' + py.path(),
+    'PYTHONPATH=' + meson.source_root() / 'pylibfdt',
+  ]
 endif
 if not yaml.found()
   env += 'NO_YAML=1'
-- 
2.29.0


  parent reply	other threads:[~2020-12-07 13:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 13:00 [PATCH 0/5] Follow-up on meson marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found] ` <20201207130055.462734-1-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2020-12-07 13:00   ` [PATCH 1/5] meson: fix -Wall warning marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
2020-12-07 13:00   ` marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA [this message]
2020-12-07 13:00   ` [PATCH 3/5] meson: increase default timeout for tests marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
2020-12-07 13:00   ` [PATCH 4/5] travis: install meson marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found]     ` <20201207130055.462734-5-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2021-06-08  3:54       ` David Gibson
     [not found]         ` <CAMxuvax=yjONOpay9+CvYvV88MKFu84W8w0SpiDyg3GuQaHA0g@mail.gmail.com>
     [not found]           ` <CAMxuvax=yjONOpay9+CvYvV88MKFu84W8w0SpiDyg3GuQaHA0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-10  5:28             ` David Gibson
2020-12-07 13:00   ` [PATCH 5/5] build-sys: replace makefiles to wrap meson/ninja marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA
     [not found]     ` <20201207130055.462734-6-marcandre.lureau-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2021-06-08  3:54       ` David Gibson
     [not found]         ` <CAMxuvaxcwrDiuxKizMjkXZFy6K3X0TSN-Z-=+SNXe53j1pMr1A@mail.gmail.com>
     [not found]           ` <CAMxuvaxcwrDiuxKizMjkXZFy6K3X0TSN-Z-=+SNXe53j1pMr1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-15  5:58             ` David Gibson
     [not found]               ` <CAMxuvaw2GoT-3CrTmBsiR==N2ZV3yJ--5MeN58DPypbJPrkfHQ@mail.gmail.com>
     [not found]                 ` <CAMxuvaw2GoT-3CrTmBsiR==N2ZV3yJ--5MeN58DPypbJPrkfHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-19  9:31                   ` David Gibson
2020-12-08  4:33   ` [PATCH 0/5] Follow-up on meson David Gibson

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=20201207130055.462734-3-marcandre.lureau@redhat.com \
    --to=marcandre.lureau-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org \
    --cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).