From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 21115568A for ; Tue, 29 Mar 2016 18:18:13 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id 191so57373945wmq.0 for ; Tue, 29 Mar 2016 09:18:13 -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=/8+GXjxz9ksqfJNz2PIRI1NshCRRvvxJkXZYifTmAnw=; b=Lihl8xBllLdqYQ6zWXjCW+2Rskg5ac2R/t68wLWzF1BMcm+oBJeMkQTjMuI2a6N0K+ VFrvODnyIQq1HH8MsWbcoUmM2xv9VqqC7m4oRQ0JHghZqydxs9iIR+Q//4Lw4y8eTUtl D/SFH0ljY+gOM5ZB6ja2tLx0iE+hCZ6JJ0Gdxq5Z9uO2LnoWjvb3BkxHHNRgApkMKGw/ W9P72PYM1YVPteZVsTWZ2yITL/Yg+23UypDP7K22fVcSL+/6VXP7q9zl72F7+oedvYGB SQ56eahgBeJobhtnj+xzb/OrSMrm2pYwJBCE+s+hfHW99salbXZW3Yt9wPMpq3b4b3sN QXRQ== 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=/8+GXjxz9ksqfJNz2PIRI1NshCRRvvxJkXZYifTmAnw=; b=PGlzHMy89Jpyi1zya+CCDxbmJAZ3xhEsvRas6xo43yJrBEvySREQfXxKhctxPVYASR LbbdlgAC50NhTrhc3Bx+eAovrZySiKv4Urs/JtH3+MzilLk7Mydbrbgin6jBOL7rPpqG kQS51LNGz+J24EP5TpwkAHe2drvbWIY8Gyh9nSPYvJvwzmqYpYNwzNXiuy0Ahf2zr8N7 diTDNTRX4K1dUnXJeCXnTSKtEeW7X0RuZ7MX+LNVECvzPSALgHi5ZHCTn0eAJcEbf8Fi 2BVTekv2Zq59s4gTAKe+BWd/BZwfruZ+dsfPRxOnRdegYJ6kE4bsk/UmtFxlxSR39RK2 O4ug== X-Gm-Message-State: AD7BkJJYZupVRq5VpTEfENw+oLhIfyFgFdiKMBkPSeL+3kJOBJPeN9sh4J3bbc9PVoqUDj3e X-Received: by 10.28.137.148 with SMTP id l142mr17090405wmd.40.1459268293012; Tue, 29 Mar 2016 09:18:13 -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.11 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2016 09:18:12 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 29 Mar 2016 18:15:54 +0200 Message-Id: <1459268154-29558-9-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 8/8] scripts: add verbose test build option 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:13 -0000 The option -v enables the verbose mode when testing a build. Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 808e8e4..a486244 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -74,11 +74,13 @@ print_help () { J=$DPDK_MAKE_JOBS short=false +unset verbose maxerr=-Wfatal-errors -while getopts hj:s ARG ; do +while getopts hj:sv ARG ; do case $ARG in j ) J=$OPTARG ;; s ) short=true ;; + v ) verbose='V=1' ;; h ) print_help ; exit 0 ;; ? ) print_usage ; exit 1 ;; esac @@ -193,17 +195,17 @@ for conf in $configs ; do echo "================== Build $dir" make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \ - EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" O=$dir + EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose O=$dir ! $short || break echo "================== Build examples for $dir" export RTE_SDK=$(pwd) export RTE_TARGET=$dir make -j$J -sC examples \ - EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" \ + EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \ O=$(readlink -m $dir/examples) ! echo $target | grep -q '^x86_64' || \ make -j$J -sC examples/performance-thread \ - EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" \ + EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \ O=$(readlink -m $dir/examples/performance-thread) unset RTE_TARGET echo "################## $dir done." -- 2.7.0