From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 8/8] travis-ci: Add test.py for various qemu platforms
Date: Fri, 21 Oct 2016 11:22:06 +0200 [thread overview]
Message-ID: <5809DE3E.1090006@denx.de> (raw)
In-Reply-To: <1476991566-2989-9-git-send-email-trini@konsulko.com>
Hello Tom,
Am 20.10.2016 um 21:26 schrieb Tom Rini:
> - Add a PPA for a more recent qemu (required for PowerPC to work)
> - Add tests to run test.py for various QEMU platforms. This relies on
> swarren's uboot-test-hooks repository to provide the abstractions.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> .travis.yml | 35 ++++++++++++++++++++++++++++++++++-
> 1 file changed, 34 insertions(+), 1 deletion(-)
Great!
Reviewed-by: Heiko Schocher <hs@denx.de>
bye,
Heiko
>
> diff --git a/.travis.yml b/.travis.yml
> index 25b0023d631b..77025128ecd5 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -10,6 +10,8 @@ language: c
>
> addons:
> apt:
> + sources:
> + - sourceline: 'ppa:gns3/qemu'
> packages:
> - cppcheck
> - sloccount
> @@ -19,6 +21,10 @@ addons:
> - libsdl1.2-dev
> - python
> - python-virtualenv
> + - qemu-system-arm
> + - qemu-system-mips
> + - qemu-system-ppc
> + - qemu-system-x86
> - gcc-powerpc-linux-gnu
> - gcc-arm-linux-gnueabihf
> - iasl
> @@ -27,6 +33,9 @@ install:
> # install latest device tree compiler
> - git clone --depth=1 git://git.kernel.org/pub/scm/utils/dtc/dtc.git /tmp/dtc
> - make -j4 -C /tmp/dtc
> + # Clone uboot-test-hooks
> + - git clone --depth=1 git://github.com/trini/uboot-test-hooks.git /tmp/uboot-test-hooks
> + - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
> # prepare buildman environment
> - export BUILDMAN_ROOT="root:"
> - echo -e "[toolchain]\n${BUILDMAN_ROOT} /usr" > ~/.buildman
> @@ -38,7 +47,7 @@ install:
>
> env:
> global:
> - - PATH=/tmp/dtc:$PATH
> + - PATH=/tmp/dtc:/tmp/uboot-test-hooks/bin:$PATH
> - BUILD_DIR=build
> - HOSTCC="cc"
> - HOSTCXX="c++"
> @@ -167,5 +176,29 @@ matrix:
> # test/py
> - script:
> - ./test/py/test.py --bd sandbox --build
> + - env:
> + - CROSS_COMPILE="/usr/bin/arm-linux-gnueabihf-"
> + script:
> + - ./test/py/test.py --bd vexpress_ca15_tc2 --id qemu --build;
> + ./test/py/test.py --bd vexpress_ca9x4 --id qemu --build;
> + ./test/py/test.py --bd integratorcp_cm926ejs --id qemu --build;
> + - env:
> + - TOOLCHAIN="mips"
> + CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-"
> + script:
> + - ./test/py/test.py --bd qemu_mips --build -k 'not sleep';
> + ./test/py/test.py --bd qemu_mipsel --build -k 'not sleep';
> + ./test/py/test.py --bd qemu_mips64 --build -k 'not sleep';
> + ./test/py/test.py --bd qemu_mips64el --build -k 'not sleep';
> + - env:
> + - CROSS_COMPILE="/usr/bin/powerpc-linux-gnu-"
> + script:
> + - ./test/py/test.py --bd qemu-ppce500 --build -k 'not sleep'
> + - env:
> + - TOOLCHAIN="x86_64"
> + BUILD_ROM=yes
> + CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-"
> + script:
> + - ./test/py/test.py --bd qemu-x86 --build -k 'not sleep'
>
> # TODO make it perfect ;-r
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
prev parent reply other threads:[~2016-10-21 9:22 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-20 19:25 [U-Boot] [PATCH 0/8] Various travis-ci improvements Tom Rini
2016-10-20 19:25 ` [U-Boot] [PATCH 1/8] test/py: ensure a log section exists for skipped tests Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 2/8] travis-ci: Switch to Ubuntu 14.04 'Trusty Tahr' Tom Rini
2016-10-21 7:27 ` Heiko Schocher
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 3/8] travis-ci: Use a git URI for dtc.git Tom Rini
2016-10-21 7:32 ` Heiko Schocher
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 4/8] travis-ci: Do not make buildman warnings fatal Tom Rini
2016-10-21 7:39 ` Heiko Schocher
2016-10-21 11:19 ` Tom Rini
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 5/8] travis-ci: Update toolchain and buildman usage Tom Rini
2016-10-21 7:40 ` Heiko Schocher
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 6/8] travis-ci: Add more architectures Tom Rini
2016-10-21 7:41 ` Heiko Schocher
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 7/8] travis-ci: Drop 'TEST_CMD' Tom Rini
2016-10-21 7:54 ` Heiko Schocher
2016-10-24 15:23 ` Tom Rini
2016-10-20 19:26 ` [U-Boot] [PATCH 8/8] travis-ci: Add test.py for various qemu platforms Tom Rini
2016-10-20 19:40 ` [U-Boot] [PATCH v2 " Tom Rini
2016-10-21 18:24 ` Stephen Warren
2016-10-22 12:56 ` Tom Rini
2016-10-24 22:21 ` Stephen Warren
2016-10-24 22:46 ` Tom Rini
2016-10-24 15:23 ` Tom Rini
2016-10-21 9:22 ` Heiko Schocher [this message]
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=5809DE3E.1090006@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 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.