Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Mihai Lindner <mihaix.lindner@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: RFC: oe-selftest script to run automated tests against bitbake tools
Date: Tue, 09 Jul 2013 11:37:44 +0100	[thread overview]
Message-ID: <1631742.S4HDYdM6UZ@helios> (raw)
In-Reply-To: <1373304800.2546.57.camel@mlindnex-mobl1.ger.corp.intel.com>

Hi Mihai,

On Monday 08 July 2013 20:33:20 Mihai Lindner wrote:
> The idea of "oe-selftest" would be to have an extra method of testing to
> cover what's not addressed by sanity tests, bitbake-selftest or image
> run-time testing. More information and some example tests are posted in
> the related bug, here:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=4740
> 
> Before starting any work on this, maybe we can gather some thoughts,
> comments, here or in the bugzilla entry, something in the lines of what
> kind of tests should it run or not, what would be the usage scenario,

Some of the kinds of tests I would expect this tool to be able to handle:

* Tests that require configuration changes or addition/modification of testing 
recipes. One issue here is that if the script did modify existing 
configuration/metadata you could potentially break user's environments if they 
run this script without realising what it does. Maybe it should set up its own 
temporary build directory to avoid this, and add additional recipes via a 
temporary layer? This could help keep the test environment sane in any case.

* As an extension to the above, tests that verify failure output. We often 
don't notice when something breaks in the error handling code, and this leads 
to regressions where we get python tracebacks instead of a proper error 
message.

* yocto-bsp/yocto-layer (although these are not in OE-Core - perhaps this is a 
chance to engineer the oe-selftest script so it can be extended by additional 
layers? I think this is something we want to allow for anyway)

* buildhistory (by running builds and then comparing using buildhistory-diff)

* create-recipe

* runqemu?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


      reply	other threads:[~2013-07-09 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 17:33 RFC: oe-selftest script to run automated tests against bitbake tools Mihai Lindner
2013-07-09 10:37 ` Paul Eggleton [this message]

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=1631742.S4HDYdM6UZ@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=mihaix.lindner@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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