Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Some topics for the Buildroot Developer Day
Date: Mon, 24 Oct 2011 21:47:47 +0200	[thread overview]
Message-ID: <20111024214747.279c6e72@skate> (raw)
In-Reply-To: <20111024165904.GB9199@pengutronix.de>

Le Mon, 24 Oct 2011 18:59:04 +0200,
Robert Schwebel <r.schwebel@pengutronix.de> a ?crit :

> >  * Testing infrastructure. Possible to put build results on the Web
> >    server? Common format for them?
> 
> This would surely be an interesting topic. We have worked on a test
> infrastructure for ptxdist for a while now; in fact, we are in the 3rd
> iteration:
> 
> - The first one was "expect" based. It failed because tcl is *just* so
>   ugly, and the risk of getting eye cancer was simply too high ...
> 
> - The 2nd one was Python / pexpect based (failed because our method to
>   connect the serial port's file descriptor to pexpect was discontinued
>   some python minor revisions later). And it turned out that our initial
>   idea to easily re-use tests due to the object orientation of Python
>   didn't work, because the test adaptions to a scenario often are bigger
>   then the test itself.
> 
> - We have a kermit based infrastructure now, with shell wrappers; the
>   kermit code is ugly as hell, but it works reliably and is well
>   wrapped.
> 
> If somebody is interested, I can show how we do that.

Sure, would be interesting to hear what you're doing in terms of
testing.

> However, we also do not have the infrastructure for a sane
> representation + website presentation of test results, so this is
> definitely something where we might collaborate nicely.

Ok. However note that for the moment, we're only trying to do automated
*build* testing. Automated *runtime* testing is an entirely different
story.

> Does buildroot have a possibility to split between runtime and build
> time dependencies? This is something we are fighting with.

Yes and no. In Buildroot, packages express their dependencies
in their Config.in and their .mk file. The dependencies in the .mk file
are build dependencies, since they are guaranteed to be built before
that package. However, dependencies in Config.in can go beyond the
build dependencies, so some of them can be seen as runtime
dependencies. But we haven't formalized that in any sort of way.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2011-10-24 19:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 15:38 [Buildroot] Some topics for the Buildroot Developer Day Thomas Petazzoni
2011-10-24 16:59 ` Robert Schwebel
2011-10-24 19:47   ` Thomas Petazzoni [this message]
2011-10-24 20:06     ` Eric Bénard
2011-10-25  6:02       ` Peter Korsgaard
2011-10-25  6:34         ` Robert Schwebel
2011-10-25  7:15           ` Peter Korsgaard
2011-10-25 12:20             ` Robert Schwebel
2011-10-24 21:44 ` Shawn J. Goff
2011-10-25  5:53   ` Mike Frysinger
2011-10-24 22:54 ` Quotient Remainder
2011-10-25  6:24   ` Thomas Petazzoni
2011-10-25  7:13     ` Peter Korsgaard
2011-10-25  8:26 ` Thomas De Schampheleire
2011-10-26 12:48 ` Yegor Yefremov
2011-10-26 13:05   ` Gustavo Zacarias
2011-10-29  6:20     ` Thomas Petazzoni
2011-10-29 11:36       ` Gustavo Zacarias
2011-11-18 16:48   ` Thomas Petazzoni
2011-10-30 20:29 ` Thomas Petazzoni

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=20111024214747.279c6e72@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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