From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Implement pytest-based test infrastructure
Date: Tue, 1 Dec 2015 16:24:42 -0700 [thread overview]
Message-ID: <565E2C3A.6020900@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ3n8hSBO12u7qM+StrB+Pd4dXFa3iQCCeyVh+EwjWrCPw@mail.gmail.com>
On 12/01/2015 09:40 AM, Simon Glass wrote:
...
> At present we don't have a sensible test framework for anything other
> than sandbox, so to me the main benefit is that with your setup, we
> do.
>
> The benefit of the existing sandbox tests is that they are very fast.
> We could bisect for a test failure in a few minutes. I'd like to make
> sure that we can still write C tests (that are called from your
> framework with results integrated into it) and that the Python tests
> are also fast.
>
> How do we move this forward? Are you planing to resend the patch with
> the faster approach?
I'm tempted to squash down all/most the fixes/enhancements I've made
since posting the original into a single commit rather than sending
follow-on enhancements, since none of it is applied yet. I can keep the
various test implementations etc. in separate commits as a series. Does
that seem reasonable?
I need to do some more testing/clean-up of the version that doesn't use
pexpect. For example, I have only tested sandbox and not real HW, and
also haven't tested (and perhaps implemented some of) the support for
matching unexpected error messages in the console log. Still, that all
shouldn't take too long.
next prev parent reply other threads:[~2015-12-01 23:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-15 6:53 [U-Boot] [PATCH] Implement pytest-based test infrastructure Stephen Warren
2015-11-19 14:45 ` Simon Glass
2015-11-19 17:00 ` Stephen Warren
2015-11-19 19:09 ` Stephen Warren
2015-11-21 16:49 ` Simon Glass
2015-11-22 17:30 ` Stephen Warren
2015-11-24 1:45 ` Simon Glass
2015-11-24 2:18 ` Simon Glass
2015-11-24 4:24 ` Stephen Warren
2015-11-24 4:44 ` Stephen Warren
2015-11-24 19:04 ` Simon Glass
2015-11-24 21:28 ` Stephen Warren
2015-11-27 2:52 ` Simon Glass
2015-11-30 17:13 ` Stephen Warren
2015-12-01 16:40 ` Simon Glass
2015-12-01 23:24 ` Stephen Warren [this message]
2015-12-02 13:37 ` Simon Glass
2015-11-23 23:44 ` Tom Rini
2015-11-23 23:55 ` Stephen Warren
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=565E2C3A.6020900@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=u-boot@lists.denx.de \
/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