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

From: [email-masked] (Ludovic Courtès)
Date: Mon, 28 May 2018 09:57:37 +0200

Morning!

Danny Milosavljevic <[email-masked]> skribis:

> On Sun, 27 May 2018 15:10:05 +0200
> [email-masked] (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 libfdt.py, provided by the dtc package, and u-boot-tools
> tests use it.

OK.  If u-boot-tools has both Python and dtc as inputs, then PYTHONPATH
is correctly defined, isn’t it?

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

So we should make sure dtc installs libfdt.py in $prefix/lib/python2.7/….

Does that make sense?

Ludo’.