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

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Fri, 18 May 2018 19:14:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 31520 <at> debbugs.gnu.org
Subject: [bug#31520] [PATCH] gnu: u-boot-tools: Enable tests.
Date: Mon, 28 May 2018 00:05:45 +0200
[Message part 1 (text/plain, inline)]
Hi Ludo,

On Sun, 27 May 2018 15:10:05 +0200
ludo <at> gnu.org (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.

Right now, we're not necessarily installing libfdt.py 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

  libfdt.py

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 libfdt.py when building (testing) itself.
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.