[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 05/19] travis.yml: Test the s390-ccw build, too
From: |
Alex Bennée |
Subject: |
[PATCH v3 05/19] travis.yml: Test the s390-ccw build, too |
Date: |
Tue, 25 Feb 2020 12:46:56 +0000 |
From: Thomas Huth <address@hidden>
Since we can now use a s390x host on Travis, we can also build and
test the s390-ccw bios images there. For this we have to make sure
that roms/SLOF is checked out, too, and then move the generated *.img
files to the right location before running the tests.
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Message-Id: <address@hidden>
---
.travis.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 58870559515..ea13e071795 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -509,6 +509,16 @@ matrix:
env:
- TEST_CMD="make check check-tcg V=1"
- CONFIG="--disable-containers
--target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user"
+ script:
+ - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF )
+ - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
+ - |
+ if [ "$BUILD_RC" -eq 0 ] ; then
+ mv pc-bios/s390-ccw/*.img pc-bios/ ;
+ ${TEST_CMD} ;
+ else
+ $(exit $BUILD_RC);
+ fi
# Release builds
# The make-release script expect a QEMU version, so our tag must start
with a 'v'.
--
2.20.1
- [PATCH v3 00/19] testing & plugin updates, Alex Bennée, 2020/02/25
- [PATCH v3 01/19] tests/tcg: include a skip runner for pauth3 with plugins, Alex Bennée, 2020/02/25
- [PATCH v3 02/19] tests/rcutorture: update usage hint, Alex Bennée, 2020/02/25
- [PATCH v3 03/19] tests/rcutorture: better document locking of stats, Alex Bennée, 2020/02/25
- [PATCH v3 04/19] tests/rcutorture: mild documenting refactor of update thread, Alex Bennée, 2020/02/25
- [PATCH v3 05/19] travis.yml: Test the s390-ccw build, too,
Alex Bennée <=
- [PATCH v3 09/19] tracing: only allow -trace to override -D if set, Alex Bennée, 2020/02/25
- [PATCH v3 06/19] travis.yml: Fix Travis YAML configuration warnings, Alex Bennée, 2020/02/25
- [PATCH v3 07/19] travis.yml: single-thread build-tcg stages, Alex Bennée, 2020/02/25
- [PATCH v3 08/19] tests/iotests: be a little more forgiving on the size test, Alex Bennée, 2020/02/25
- [PATCH v3 10/19] docs/devel: document query handle lifetimes, Alex Bennée, 2020/02/25
- [PATCH v3 13/19] qemu/bitops.h: Add extract8 and extract16, Alex Bennée, 2020/02/25