All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Björn Stenberg" <bjst@enea.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: yocto@yoctoproject.org
Subject: Re: Discussion: Package testing
Date: Mon, 18 Jun 2012 17:04:33 +0200	[thread overview]
Message-ID: <20120618150433.GC1646@giant> (raw)
In-Reply-To: <1340019794.8481.10.camel@ted>

Richard Purdie wrote:
> > c) (-ptest) Install all test files to /opt/ptest/${PN}-${PV} (for
> > example). Make a package "ptest-runner" that has a
> > script /opt/ptest/run-all-tests to iterate over all installed tests
> > and run them. This is our suggestion.
> 
> Can we suitably extract the tests out of the source code to be able to
> do this? I'm worried a little about the maintenance burden but I do like
> option c). 

Typically the tests don't mix production and test code, since the purpose is to test the production code. Rather the tests are isolated in separate files that we relatively easily can build and install separately from the base package.

However, this is still early in the process. We have only processed a limited number of packages yet. We wanted to involve the community early to align our goals and directions.

-- 
Björn


  parent reply	other threads:[~2012-06-18 15:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14 13:26 Discussion: Package testing Björn Stenberg
2012-06-14 19:54 ` Frans Meulenbroeks
2012-06-15  8:23   ` Björn Stenberg
2012-06-18 11:43 ` Richard Purdie
2012-06-18 13:04   ` Fredrik Hugosson
2012-06-18 14:50     ` Björn Stenberg
2012-06-18 15:04   ` Björn Stenberg [this message]
2012-06-19 11:24     ` Burton, Ross
2012-06-21  8:50       ` Björn Stenberg

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=20120618150433.GC1646@giant \
    --to=bjst@enea.com \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.