public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] Enable test/py for sandbox in Travis CI
Date: Thu, 11 Feb 2016 06:41:06 +0100	[thread overview]
Message-ID: <56BC1EF2.7010203@denx.de> (raw)
In-Reply-To: <1454981015-21619-2-git-send-email-swarren@wwwdotorg.org>

Hello Stephen,

Am 09.02.2016 um 02:23 schrieb Stephen Warren:
> From: Stephen Warren <swarren@nvidia.com>
>
> This provides runtime test coverage in Travis, in addition to the existing
> build coverage.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>   .travis.yml | 8 ++++++++
>   1 file changed, 8 insertions(+)

Very nice, thanks!

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/.travis.yml b/.travis.yml
> index 8caaeb34553e..18bf2ed4fcdb 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -16,6 +16,8 @@ addons:
>       - bc
>       - build-essential
>       - libsdl1.2-dev
> +    - python
> +    - python-virtualenv
>
>   cache:
>    - apt
> @@ -38,6 +40,9 @@ install:
>    - echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman
>    - echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman
>    - cat ~/.buildman
> + - virtualenv /tmp/venv
> + - . /tmp/venv/bin/activate
> + - pip install pytest
>
>   env:
>     global:
> @@ -177,5 +182,8 @@ matrix:
>       # some statistics about the code base
>       - env:
>           - TEST_CMD="sloccount ."
> +    # test/py
> +    - env:
> +        - TEST_CMD="./test/py/test.py --bd sandbox --build"
>
>   # TODO make it perfect ;-r
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2016-02-11  5:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09  1:23 [U-Boot] [PATCH 1/2] test/py: don't import pexpect Stephen Warren
2016-02-09  1:23 ` [U-Boot] [PATCH 2/2] Enable test/py for sandbox in Travis CI Stephen Warren
2016-02-09 12:13   ` Meier, Roger
2016-02-11  5:41   ` Heiko Schocher [this message]
2016-02-15  1:19     ` Simon Glass
2016-02-15 22:36   ` [U-Boot] [U-Boot,2/2] " Tom Rini
2016-02-15  1:19 ` [U-Boot] [PATCH 1/2] test/py: don't import pexpect Simon Glass
2016-02-15 22:36 ` [U-Boot] [U-Boot,1/2] " Tom Rini

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=56BC1EF2.7010203@denx.de \
    --to=hs@denx.de \
    --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