[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/8] travis: Fix arm coreboot test and make loop more robus
From: |
Alexander Graf |
Subject: |
[PATCH v2 4/8] travis: Fix arm coreboot test and make loop more robus |
Date: |
Thu, 2 May 2019 08:55:33 +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 3f23e9a72..2722f3a3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,7 +66,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
@@ -98,7 +98,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
- Re: [PATCH v2 7/8] travis: Add ARM thumb target to tests, (continued)
[PATCH v2 8/8] travis: Test module loading from tftp as well, Alexander Graf, 2019/05/02
[PATCH v2 2/8] travis: Fix sparc64 test, Alexander Graf, 2019/05/02
[PATCH v2 4/8] travis: Fix arm coreboot test and make loop more robus,
Alexander Graf <=
[PATCH v2 5/8] arm coreboot: Use common directory path, Alexander Graf, 2019/05/02
[PATCH v2 1/8] travis: Run bootstrap instead of autogen.sh, Alexander Graf, 2019/05/02
[PATCH v2 6/8] travis: Add smoke tests for arm and aarch64, Alexander Graf, 2019/05/02
Re: [PATCH v2 0/8] Travis fixes, Daniel Kiper, 2019/05/10