From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Vivian Kong <vivkong@ca.ibm.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] How to run tests
Date: Thu, 9 Aug 2018 16:54:36 +0100 [thread overview]
Message-ID: <8d982053-4e32-9dbe-fe76-f42bedd52fb5@intel.com> (raw)
In-Reply-To: <OFCA81C194.0496E304-ON852582E4.004C3334-852582E4.004C5F6D@notes.na.collabserv.com>
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" <anatoly.burakov@intel.com>
> To: Vivian Kong <vivkong@ca.ibm.com>, 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 <your build dir>/test/test/dpdk-test.
>
> --
> Thanks,
> Anatoly
>
>
>
>
--
Thanks,
Anatoly
next prev parent reply other threads:[~2018-08-09 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 20:10 Vivian Kong
2018-08-09 8:48 ` Burakov, Anatoly
2018-08-09 14:15 ` Vivian Kong
[not found] ` <OFCA81C194.0496E304-ON852582E4.004C3334-852582E4.004C5F6D@notes.na.collabserv.com>
2018-08-09 15:54 ` Burakov, Anatoly [this message]
2018-08-09 16:17 ` Bruce Richardson
2018-08-09 16:42 ` Vivian Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d982053-4e32-9dbe-fe76-f42bedd52fb5@intel.com \
--to=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=vivkong@ca.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).