Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hY6fQ-000703-UF for mharc-grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY6fO-0006za-Ri for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hY6fM-0005Iq-GA for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:42 -0400 Received: from mail.csgraf.de ([188.138.100.120]:35758 helo=zulu616.server4you.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY6fL-0005Db-MO for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:40 -0400 Received: from server.alex.local (x5f732cb8.dyn.telefonica.de [95.115.44.184]) by csgraf.de (Postfix) with ESMTPSA id BF4A63900486; Tue, 4 Jun 2019 12:27:35 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Cc: Daniel Kiper , Leif Lindholm Subject: [PATCH v3 02/10] travis: Fix sparc64 test Date: Tue, 4 Jun 2019 12:27:26 +0200 Message-Id: <20190604102734.1525-3-agraf@csgraf.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190604102734.1525-1-agraf@csgraf.de> References: <20190604102734.1525-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: Tue, 04 Jun 2019 10:27:44 -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 Reviewed-by: Daniel Kiper --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index de8ff057a..1af489630 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,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; @@ -87,7 +88,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