All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Wood <michael.g.wood@intel.com>
To: "toaster@yoctoproject.org" <toaster@yoctoproject.org>
Subject: Re: announcing the toaster test framework
Date: Tue, 28 Apr 2015 20:54:08 +0100	[thread overview]
Message-ID: <553FE560.50600@intel.com> (raw)
In-Reply-To: <CAJ2CSBtsbj9TradpWEfCy5mV3k5u4JnOrF5Ho6DAZrohEPQcXA@mail.gmail.com>

On 27/04/15 18:22, Damian, Alexandru wrote:
> Hi,
>
> I put together a couple of scripts that will monitor the toaster 
> mailing list, and provide smoke testing on each patchset submitted to 
> review request.
>
> A very rough form of these scripts existed for some time, but I've 
> taken time to clean that up, and enough code to be able to add tests 
> very easily, and make everything a bit more reliable.
>
> It lives outside of the poky/ or bitbake/ trees, and you can check out 
> the code here, until moved to a proper repo.
>
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=yocto-tts/master
>
>
> Currently, my installation is emailing tests results only to me, but 
> once I've been satisfied that it doesn't crash or burn the mailing 
> list, I will update the setup to mail results directly to the mailing 
> list.
>
>
> You can also use it to manually run tests on your branch prior to 
> submission.
>

I know this wasn't an RFC but I do have one question... you're 
encoraging people to write tests for this new framework, but when are we 
saying a test be sent to the "toaster test framework" and when should it 
be a unit test in Toaster?

...My thoughts are that if it's possible to write the unit test in 
toaster with django[1] (i.e no external tools) then that should be the 
primary place for tests, we should be in the habbit of running 
./manage.py test pre-submission of patches. Those tests are broken or 
missing at the moment, so I hope we can fix those first.

What do you think?

[1] e.g. some I wrote for the error-report-web:
http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/tree/Post/test.py



> Cheers,
> Alex
>
> -- 
> Alex Damian
> Yocto Project
> SSG / OTC
>
>



  reply	other threads:[~2015-04-28 19:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 17:22 announcing the toaster test framework Damian, Alexandru
2015-04-28 19:54 ` Michael Wood [this message]
2015-04-29  9:27   ` Barros Pena, Belen
2015-05-01  9:15     ` Damian, Alexandru
2015-05-01  9:10   ` Damian, Alexandru

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=553FE560.50600@intel.com \
    --to=michael.g.wood@intel.com \
    --cc=toaster@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.