From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bruce.richardson@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id D4236F937
 for <dev@dpdk.org>; Wed, 29 Mar 2017 16:04:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=intel;
 t=1490796283; x=1522332283;
 h=from:to:cc:subject:date:message-id:in-reply-to: references;
 bh=vUnsw7/eY+pajb6VdmDBc9AIXriCXGt+KuDJ8j5GuM0=;
 b=DvOVKX3DlzWYgxh5biR0kaJWJfYYFh5f3Wi/5l6jWtyB+WS5i2eN3svv
 OpN3GOIjFEGjbhdcDms/8gv0DtjJSg==;
Received: from fmsmga006.fm.intel.com ([10.253.24.20])
 by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 29 Mar 2017 07:04:42 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.36,241,1486454400"; d="scan'208";a="82297762"
Received: from sivswdev01.ir.intel.com ([10.237.217.45])
 by fmsmga006.fm.intel.com with ESMTP; 29 Mar 2017 07:04:41 -0700
From: Bruce Richardson <bruce.richardson@intel.com>
To: thomas.monjalon@6wind.com
Cc: pablo.de.lara.guarch@intel.com, dev@dpdk.org,
 Bruce Richardson <bruce.richardson@intel.com>
Date: Wed, 29 Mar 2017 15:04:19 +0100
Message-Id: <20170329140419.27149-5-bruce.richardson@intel.com>
X-Mailer: git-send-email 2.8.4
In-Reply-To: <20170329140419.27149-1-bruce.richardson@intel.com>
References: <20170329140419.27149-1-bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH 4/4] devtools: add autotest app to build script
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Mar 2017 14:04:43 -0000

Since the test app is no longer being build by default as part of a build,
we need to update the testbuild script to take account of this. Rather than
just doing a "make" in the build directory, we can instead do "make
test-build" which does a normal build as well as building the test
application too.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 devtools/test-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index a38ffab..0894bbd 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -227,7 +227,7 @@ for conf in $configs ; do
 	config $dir $target $options
 
 	echo "================== Build $dir"
-	make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
+	make -j$J test-build EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
 		EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose O=$dir
 	! $short || break
 	echo "================== Build examples for $dir"
-- 
2.9.3