[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/6] travis: Fix arm coreboot test and make loop more robus
From: |
Alexander Graf |
Subject: |
[PATCH 4/6] travis: Fix arm coreboot test and make loop more robus |
Date: |
Sun, 28 Apr 2019 00:55:56 +0200 |
We missed the fact that the coreboot target did not succeed on mkimage.
Properly abort the loop if we see a failure and fix the coreboot target
to also indicate the board target.
Signed-off-by: Alexander Graf <address@hidden>
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 570181e81..29013bb9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -62,7 +62,7 @@ script:
- echo -e "insmod echo\\ninsmod reboot\\necho hello world\\nreboot" >
grub.cfg
# Assemble images and possibly run them.
- - for target in $GRUB_TARGETS; do grub-mkimage -c grub.cfg -p / -O $target
-o grub-$target echo reboot normal; done
+ - ( for target in $GRUB_TARGETS; do grub-mkimage -c grub.cfg -p / -O $target
-o grub-$target echo reboot normal || exit; done )
# Run images we know how to run.
- if [[ "$GRUB_TARGETS" == *"x86_64-efi"* ]]; then qemu-system-x86_64 -bios
/usr/share/ovmf/OVMF.fd -m 512 -no-reboot -nographic -net nic -net
user,tftp=.,bootfile=grub-x86_64-efi | tee grub.log && grep "hello world"
grub.log; fi
@@ -94,7 +94,7 @@ matrix:
- CROSS_TARGETS="mips64-linux"
- name: "arm"
env:
- - GRUB_TARGETS="arm-coreboot arm-efi arm-uboot"
+ - GRUB_TARGETS="arm-coreboot-vexpress arm-efi arm-uboot"
- CROSS_TARGETS="arm-linux-gnueabi"
- name: "arm64"
env:
--
2.16.4
- [PATCH 0/6] Travis fixes, Alexander Graf, 2019/04/27
- [PATCH 1/6] travis: Run bootstrap instead of autogen.sh, Alexander Graf, 2019/04/27
- [PATCH 5/6] arm coreboot: Use common directory path, Alexander Graf, 2019/04/27
- [PATCH 5/5] travis: Add smoke tests for arm and aarch64, Alexander Graf, 2019/04/27
- [PATCH 4/6] travis: Fix arm coreboot test and make loop more robus,
Alexander Graf <=
- [PATCH 2/6] travis: Fix sparc64 test, Alexander Graf, 2019/04/27
- [PATCH 6/6] travis: Add smoke tests for arm and aarch64, Alexander Graf, 2019/04/27
- [PATCH 3/6] travis: Fix mips QEMU target, Alexander Graf, 2019/04/27