From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0AB51FEB for ; Thu, 9 Aug 2018 17:54:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2018 08:54:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,215,1531810800"; d="scan'208";a="80339051" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.148]) ([10.237.220.148]) by orsmga001.jf.intel.com with ESMTP; 09 Aug 2018 08:54:38 -0700 To: Vivian Kong Cc: dev@dpdk.org References: <3fa3162e-9440-a957-4aa1-0f437e245ba2@intel.com> From: "Burakov, Anatoly" Message-ID: <8d982053-4e32-9dbe-fe76-f42bedd52fb5@intel.com> Date: Thu, 9 Aug 2018 16:54:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] How to run tests 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: , X-List-Received-Date: Thu, 09 Aug 2018 15:54:43 -0000 On 09-Aug-18 2:54 PM, Vivian Kong wrote: > Thanks Anatoly. > > Is there a set of tests I can run to verify the build? Generally, most unit tests in the test app will do what you require. Additionally, if you're using make build system, you can run "make test" and it'll run an autotest script. Some tests may fail for various reasons (additional setup requirements for KNI tests, multiprocess issues affecting EAL flags and multiprocess autotests...), but generally that command can be used to "verify the build". That said, it is by no means an exhaustive test, because most of DPDK functionality of interest will require setting up traffic forwarding - unit tests do very limited testing of that for obvious reasons. > > Regards, > > Vivian Kong > Linux on z Systems Open Source Ecosystem > IBM Canada Toronto Lab > > Inactive hide details for "Burakov, Anatoly" ---2018/08/09 04:48:33 > AM---On 08-Aug-18 9:10 PM, Vivian Kong wrote: >"Burakov, Anatoly" > ---2018/08/09 04:48:33 AM---On 08-Aug-18 9:10 PM, Vivian Kong wrote: > > > From: "Burakov, Anatoly" > To: Vivian Kong , dev@dpdk.org > Date: 2018/08/09 04:48 AM > Subject: Re: [dpdk-dev] How to run tests > > ------------------------------------------------------------------------ > > > > On 08-Aug-18 9:10 PM, Vivian Kong wrote: > > > > > > Hi everyone, > > > > Got a newbie question - I was able to build the source with `make install > > DESTDIR=~/dpdk-install T=x86_64-native-linuxapp-gcc`.  How do I go about > > running the tests?  I looked into the directory > > "x86_64-native-linuxapp-gcc" but I didn't see the "app/test" executable. > > Am I missing something in my make command? > > > > Thanks for your help. > > > > Regards, > > > > Vivian Kong > > Linux on z Systems Open Source Ecosystem > > IBM Canada Toronto Lab > > > > Hi, > > If you're using make build system, you need to run "make test-build" to > build the test application. Then, you'll be able to run the test > application. > > With meson build system, the test application is built by default, and > will be located at /test/test/dpdk-test. > > -- > Thanks, > Anatoly > > > > -- Thanks, Anatoly