aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-10-26 16:08:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-10-26 16:48:58 +1100
commitd8830fde02f498cf657fd3141370289173688970 (patch)
tree4b2db196606020f70e24734fa7bfc34e205d2b83 /.travis.yml
parent5a76659c0c2322f7c70d634cc51779582d25174d (diff)
downloadskiboot-d8830fde02f498cf657fd3141370289173688970.zip
skiboot-d8830fde02f498cf657fd3141370289173688970.tar.gz
skiboot-d8830fde02f498cf657fd3141370289173688970.tar.bz2
Support PowerNV Qemu for running tests
We now run tests under both Mambo and QEMU PowerNV model. Also added are scripts in opal-ci/ for building powernv model qemu. Currently, this is not yet in upstream qemu, so we build from Ben's branch. You can start using qemu along with/instead of Mambo by: 1) (cd ./opal-ci; sudo ./install-deps-qemu-powernv.sh; ./build-qemu-powernv.sh) 2) Pointing QEMU_PATH and QEMU_BINARY environment variables to appropriate qemu binary with powernv model When building qemu ourselves, we build a *specific* known good tag from the open-power tree. This should ensure that into the future existing test scripts should continue to function. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b9f11cc..841f754 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ before_install:
- sudo tar -C /opt/cross -xvf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz
- wget ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb
- sudo dpkg -i systemsim-p8_1.0-2_amd64.deb
+ - ./opal-ci/install-deps-qemu-powernv.sh
env:
global:
@@ -20,6 +21,7 @@ env:
- secure: "MpNEGFa1VrF/vsQq24n5UgfRbz1wVC6B8mubFnyK4gX0IuQ9xhWuTzMLUQF9UJxe5jnC2DTmVUvYTYN/hggw+PpYwbOOAE0QGR5pmPHA4PSRmc5pxt1q18/sv7EPFw66GFyWJq94nWjpigyKQ8KGtA67j1xFqrDoS43OA76WZgo="
script:
+ - (cd opal-ci; ./build-qemu-powernv.sh)
- make -j4 all check ; (make clean; cd external/gard && make) ; (make clean; cd external/pflash && make)
- make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check
- make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir