[dpdk-dev] How to run tests

Vivian Kong vivkong at ca.ibm.com
Thu Aug 9 18:42:41 CEST 2018


Thanks all!

Regards,

Vivian Kong
Linux on z Systems Open Source Ecosystem
IBM Canada Toronto Lab

Bruce Richardson <bruce.richardson at intel.com> wrote on 2018/08/09 12:17:23
PM:

>
> On Thu, Aug 09, 2018 at 04:54:36PM +0100, Burakov, Anatoly wrote:
> > 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 "maketest"
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.
> >
>
> Just FYI:
> As well as "make test", for meson builds you can also use "meson test",
or
> "meson test <testname>" to run just one specific test.
>


More information about the dev mailing list