Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hKWEs-00048g-CX for mharc-grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKWEl-00043n-Sg for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKWEk-0004fw-R5 for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:03 -0400 Received: from zulu616.server4you.de ([188.138.100.120]:49380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKWEk-0004dv-Jz for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:02 -0400 Received: from server.alex.local (x5f7241a8.dyn.telefonica.de [95.114.65.168]) by csgraf.de (Postfix) with ESMTPSA id A7C6239004DA for ; Sun, 28 Apr 2019 00:56:00 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Subject: [PATCH 2/6] travis: Fix sparc64 test Date: Sun, 28 Apr 2019 00:55:54 +0200 Message-Id: <20190427225559.15179-3-agraf@csgraf.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190427225559.15179-1-agraf@csgraf.de> References: <20190427225559.15179-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: Sat, 27 Apr 2019 22:56:05 -0000 For sparc64, we were not selecting the correct mkimage output type. Just pick aout at random. Also, make sure the rest of the variable logic can deal with the 3rd element. Signed-off-by: Alexander Graf --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6184a373f..c3e6513f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,8 @@ script: # Build all selected GRUB targets. - for target in $GRUB_TARGETS; do plat=${target#*-}; - arch=${target%-*}; + plat=${plat%-*}; + arch=${target%%-*}; [ "$arch" = "arm64" ] && arch=aarch64-linux; [ "$arch" = "arm" ] && arch=arm-linux-gnueabi; [ "$arch" = "ia64" ] && arch=ia64-linux; @@ -81,7 +82,7 @@ matrix: - CROSS_TARGETS="powerpc64-linux" - name: "sparc64" env: - - GRUB_TARGETS="sparc64-ieee1275" + - GRUB_TARGETS="sparc64-ieee1275-aout" - CROSS_TARGETS="sparc64-linux" - name: "ia64" env: -- 2.16.4