From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C7E92A00E6 for ; Thu, 8 Aug 2019 14:22:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1BAC1BE1E; Thu, 8 Aug 2019 14:22:34 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 577AF1BCBD for ; Thu, 8 Aug 2019 14:22:33 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9708830A923F for ; Thu, 8 Aug 2019 12:22:32 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-32.brq.redhat.com [10.40.204.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41B01608A5; Thu, 8 Aug 2019 12:22:30 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: aconole@redhat.com, msantana@redhat.com Date: Thu, 8 Aug 2019 14:22:17 +0200 Message-Id: <1565266937-8159-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 08 Aug 2019 12:22:32 +0000 (UTC) Subject: [dpdk-dev] [PATCH] ci: exit setup on any error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -e is preferrable so that we can catch errors in the middle of this script. An example is this Travis job [1] that should have errored at the meson install step rather than go to the build step. Adding debug mode as it can help post-mortem. 1: https://travis-ci.com/DPDK/dpdk/jobs/223511683 Signed-off-by: David Marchand --- .ci/linux-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index a40e62e..dfb9d4a 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -xe # need to install as 'root' since some of the unit tests won't run without it sudo python3 -m pip install --upgrade meson -- 1.8.3.1