[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31520] [PATCH] gnu: u-boot-tools: Enable tests.

From: Danny Milosavljevic
Subject: [bug#31520] [PATCH] gnu: u-boot-tools: Enable tests.
Date: Mon, 28 May 2018 00:05:45 +0200

Hi Ludo,

On Sun, 27 May 2018 15:10:05 +0200
address@hidden (Ludovic Courtès) wrote:

> > dtc has Python bindings and we build them.  
> But then we do not need a search path definition in dtc itself; the one
> in Python is enough.  Or am I missing something?

There's a, provided by the dtc package, and u-boot-tools
tests use it.

Right now, we're not necessarily installing into python (?) or the
profile or anything.

Like u-boot-tools has somewhere (in its unit tests):

  #!/usr/bin/env python3
  import pylibfdt

And dtc provides

which could be useful for Python programmers, too.

>   1. dtc provides Python bindings that are useful to Python
>      programmers.  This is addressed by having both Python and dtc in
>      the same profile, in which case PYTHONPATH is automatically
>      defined.  Nothing special to do.

Yes.  But in this case u-boot-tools uses when building (testing) 

Attachment: pgpEYkJ8VVP6v.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]