Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hM5dL-0003Ng-7J for mharc-grub-devel@gnu.org; Thu, 02 May 2019 02:55:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM5dF-0003E6-MM 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 1hM5dE-00053B-0Z for grub-devel@gnu.org; Thu, 02 May 2019 02:55:49 -0400 Received: from zulu616.server4you.de ([188.138.100.120]:54186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM5dD-0004qQ-Ng 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 4CB963900402 for ; Thu, 2 May 2019 08:55:38 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Subject: [PATCH v2 2/8] travis: Fix sparc64 test Date: Thu, 2 May 2019 08:55:31 +0200 Message-Id: <20190502065537.25636-3-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 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 6b8f97830..f3ac88036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,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; @@ -85,7 +86,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