Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hM5dL-0003Ok-Gj for mharc-grub-devel@gnu.org; Thu, 02 May 2019 02:55:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM5dF-0003E7-Mg for grub-devel@gnu.org; Thu, 02 May 2019 02:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hM5dD-000523-Ow for grub-devel@gnu.org; Thu, 02 May 2019 02:55:49 -0400 Received: from zulu616.server4you.de ([188.138.100.120]:54190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM5dD-0004qv-Ht for grub-devel@gnu.org; Thu, 02 May 2019 02:55:47 -0400 Received: from server.alex.local (x5f734459.dyn.telefonica.de [95.115.68.89]) by csgraf.de (Postfix) with ESMTPSA id B296C390046A for ; Thu, 2 May 2019 08:55:38 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Subject: [PATCH v2 4/8] travis: Fix arm coreboot test and make loop more robus Date: Thu, 2 May 2019 08:55:33 +0200 Message-Id: <20190502065537.25636-5-agraf@csgraf.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190502065537.25636-1-agraf@csgraf.de> References: <20190502065537.25636-1-agraf@csgraf.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 188.138.100.120 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 06:55:50 -0000 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 --- .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