[dpdk-dev] How to run tests
Bruce Richardson
bruce.richardson at intel.com
Thu Aug 9 18:17:23 CEST 2018
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 "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.
>
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