[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 04/10] travis: Fix arm coreboot test and make loop more robus
From: |
Alexander Graf |
Subject: |
[PATCH v3 04/10] travis: Fix arm coreboot test and make loop more robus |
Date: |
Tue, 4 Jun 2019 12:27:28 +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>
Reviewed-by: Daniel Kiper <address@hidden>
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index d7563958e..7945efa14 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,7 +68,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
@@ -100,7 +100,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 v3 00/10] Travis fixes, Alexander Graf, 2019/06/04
- [PATCH v3 02/10] travis: Fix sparc64 test, Alexander Graf, 2019/06/04
- [PATCH v3 03/10] travis: Fix mips QEMU target, Alexander Graf, 2019/06/04
- [PATCH v3 04/10] travis: Fix arm coreboot test and make loop more robus,
Alexander Graf <=
- [PATCH v3 01/10] travis: Run bootstrap instead of autogen.sh, Alexander Graf, 2019/06/04
- [PATCH v3 07/10] travis: Add ARM thumb target to tests, Alexander Graf, 2019/06/04
- [PATCH v3 05/10] arm coreboot: Use common directory path, Alexander Graf, 2019/06/04
- [PATCH v3 08/10] travis: Test module loading from tftp as well, Alexander Graf, 2019/06/04
- [PATCH v3 09/10] travis: Disable MIPS target, Alexander Graf, 2019/06/04