From: "Björn Stenberg" <bjst@enea.com>
To: <yocto@yoctoproject.org>
Subject: [PATCH 0/3] RFC: Package testing
Date: Thu, 23 Aug 2012 16:19:59 +0200 [thread overview]
Message-ID: <1345731602-47313-1-git-send-email-bjst@enea.com> (raw)
Hi.
This is a first set of patches implementing the package testing concept
I proposed in
https://lists.yoctoproject.org/pipermail/yocto/2012-June/009443.html
In summary, the proposal creates a new package group called -ptest that
contains the test suites included with many source packages, compiled to
run on target.
Packaging the test suites sometimes requires patching makefiles to allow
test tools to be built on host but ran on target. And it sometimes
requires patching and/or translation of the test output to produce a
generic output format that can be automatically parsed. I have included
an example patch for bash that does just that.
I have also included "ptest-runnner", a simple script to find and run
all installed ptests.
Björn Stenberg (3):
Add -ptest package group
New recipe: ptest-runner
Enabled bash-ptest
meta/classes/distutils-common-base.bbclass | 5 +++-
meta/classes/image.bbclass | 6 +++-
meta/classes/package.bbclass | 8 ++++-
meta/classes/task.bbclass | 2 +-
meta/conf/bitbake.conf | 14 ++++++++-
.../bash/bash-4.2/build-tests.patch | 29 ++++++++++++++++++++
meta/recipes-extended/bash/bash-4.2/run-ptest | 2 +
.../bash/bash-4.2/test-output.patch | 19 +++++++++++++
meta/recipes-extended/bash/bash.inc | 18 ++++++++++++
meta/recipes-extended/bash/bash_4.2.bb | 5 +++-
.../ptest-runner/files/ptest-runner | 16 +++++++++++
.../ptest-runner/ptest-runner_1.0.bb | 21 ++++++++++++++
12 files changed, 136 insertions(+), 9 deletions(-)
create mode 100644 meta/recipes-extended/bash/bash-4.2/build-tests.patch
create mode 100644 meta/recipes-extended/bash/bash-4.2/run-ptest
create mode 100644 meta/recipes-extended/bash/bash-4.2/test-output.patch
create mode 100644 meta/recipes-support/ptest-runner/files/ptest-runner
create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_1.0.bb
--
1.7.5.4
next reply other threads:[~2012-08-23 14:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 14:19 Björn Stenberg [this message]
2012-08-23 14:20 ` [PATCH 1/3] Add -ptest package group Björn Stenberg
2012-08-23 14:42 ` Paul Eggleton
2012-08-24 6:51 ` Björn Stenberg
2012-08-24 15:37 ` Richard Purdie
2012-08-28 11:17 ` Björn Stenberg
2012-08-23 14:20 ` [PATCH 2/3] New recipe: ptest-runner Björn Stenberg
2012-08-23 14:20 ` [PATCH 3/3] Enable bash-ptest Björn Stenberg
2012-08-24 15:40 ` Richard Purdie
2012-08-24 19:10 ` Saul Wold
2012-08-23 21:53 ` [PATCH 0/3] RFC: Package testing Burton, Ross
2012-08-24 6:49 ` Björn Stenberg
-- strict thread matches above, loose matches on Subject: below --
2012-08-31 14:10 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=1345731602-47313-1-git-send-email-bjst@enea.com \
--to=bjst@enea.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.