From: "Björn Stenberg" <bjst@enea.com>
To: Fredrik Hugosson <fredrik.hugosson@axis.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Discussion: Package testing
Date: Mon, 18 Jun 2012 16:50:47 +0200 [thread overview]
Message-ID: <20120618145047.GB1646@giant> (raw)
In-Reply-To: <4FDF2766.7000309@axis.com>
Fredrik Hugosson wrote:
> I think you both might be missing some cases here. The problem is
> that 'make check' does not have a standardized meaning.
Even if there was a standardized meaning to "make check", there are lots of packages that use completely differents systems for their building and testing. Hence there is no generic solution, we have to adapt each individual package manually.
> 1) Function test level with testing run on target, package cross-compiled
> 2) Function test level with testing run on host, package cross-compiled
> 3) Function test level with testing run on host, package compiled for host
> 4) Unit test level with testing run on target, package cross-compiled
> 5) Unit test level with testing run on host, package compiled for host
Our proposal is focused on testing the target binaries on the target, in an attempt to limit complexity. Testing -native and -nativesdk packages is therefore outside this scope.
> Would be very nice for functional tests, but it will not be so
> simple for unit testing. For unit tests I belive you need some build
> target too, which leads back to the comment above.
Yes, this proposal only works for tests that run on a single machine. But from what I have seen so far, that covers the vast majority of included package tests. Do you have examples to the contrary?
There will certainly be room and need for other catergories of tests, which is one reason I've used the specific "ptest" moniker for this. This is not intended to be a covers-all-bases test solution. It's just one part.
--
Björn
next prev parent reply other threads:[~2012-06-18 14:50 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 [this message]
2012-06-18 15:04 ` Björn Stenberg
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=20120618145047.GB1646@giant \
--to=bjst@enea.com \
--cc=fredrik.hugosson@axis.com \
--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.