From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id E7DC35677 for ; Tue, 29 Mar 2016 18:18:08 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id r72so63891927wmg.0 for ; Tue, 29 Mar 2016 09:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=s8vyncsBxt2Q3nVeU5CSTZJ1NK9xbNlkm3Krza2PrFY=; b=KNAXP1791pZLnJcllrhF/NG8h4o4VUTlkjxBr+f+jmrX2CNJ3apiZmPLwe7GTXa7CG qpCPKk+K7yE5Pz+bsk9a4UlQdYC2DrotIZordNzDbjoAFyWo7b+aJEYkCHlsA3ujcDK8 yJKMszWON8Ga84QftbTfXCYj0Ldt3btKlyqQMmxWdSDsARdzPkeihRYXF0R0YTyVZSn/ xo178/5P2RQBRgrTCNdYekyXHGEyP7gmq+Td10qOiYFrP/fJ5JuBRQxhg6rsMfjC8Awn YlWeR67Jt83VaOtFYAFQqitn/2FA1LZyZxmz6x841BPcz8tKubH2oOKaKXmOp8kgGo2m jYlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=s8vyncsBxt2Q3nVeU5CSTZJ1NK9xbNlkm3Krza2PrFY=; b=gbv3jQUozJAcBaJjAfUhBKqlzxwBPY71p/KcoX27HOR1k8kofad0nZlUkuEoMa+U4/ 7slRKAR8/kg3Uaqum02A+/+tjTSjOhPMBl/8QhqUyX5nZe40+DDQ3PCEjA53kc4S7e62 hEEmBabUF/KZk53/KVm+GXu9zQV+8MzVkBLuXPJvMATj/ZBvM20axnDpqDmzc6IuF7S/ zPw6Lm6+Sg7ZUyuBD8iAA2ayYk4n1QXAhX+Hgq4rgJvlJj1y0YWUSzYhn2qKC8bIRDY3 0piCUaBRRNjD4Xd7f4DQtLzZKfDwL77vlxE9tefCTGi1M7lZ74sZ32iWJWYCY0wEaNzT qZOA== X-Gm-Message-State: AD7BkJIKXchNacUOAqFdoFtBl2MXQKF1zG2lOnI+OfQg9Y//XLs5fwom2An80K+iVnUTTO+s X-Received: by 10.28.142.213 with SMTP id q204mr16848463wmd.69.1459268288839; Tue, 29 Mar 2016 09:18:08 -0700 (PDT) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id jf6sm30004635wjb.2.2016.03.29.09.18.07 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2016 09:18:08 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 29 Mar 2016 18:15:50 +0200 Message-Id: <1459268154-29558-5-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1459268154-29558-1-git-send-email-thomas.monjalon@6wind.com> References: <1459268154-29558-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 4/8] scripts: stop build test after first error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 16:18:09 -0000 Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index ffad7ee..ffa7bea 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -64,6 +64,7 @@ print_help () { J=$DPDK_MAKE_JOBS short=false +maxerr=-Wfatal-errors while getopts hj:s ARG ; do case $ARG in j ) J=$OPTARG ;; @@ -146,7 +147,7 @@ for conf in $configs ; do config $dir $target $options echo "================== Build $dir" - make -j$J EXTRA_CFLAGS="$DPDK_DEP_CFLAGS" \ + make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \ EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" O=$dir ! $short || break echo "================== Build examples for $dir" -- 2.7.0