[dpdk-dev] [PATCH] app/test: enhance meson test run for FreeBSD and Linux

Pattan, Reshma reshma.pattan at intel.com
Wed Apr 3 14:23:39 CEST 2019



> -----Original Message-----
> From: Babu Radhakrishnan, AgalyaX
> Sent: Wednesday, March 6, 2019 9:20 AM
> To: dev at dpdk.org
> Cc: Pattan, Reshma <reshma.pattan at intel.com>; Richardson, Bruce
> <bruce.richardson at intel.com>; Babu Radhakrishnan, AgalyaX
> <agalyax.babu.radhakrishnan at intel.com>
> Subject: [PATCH] app/test: enhance meson test run for FreeBSD and Linux
> 
> From: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan at intel.com>
> 
> 1)For linux, running all tests on same cores can increase failure rate.
> So instead run each test case on separate lcore using -l EAL option.
> Lcore for each test case will be selected in the incremental order of 0,1,2 ... till it
> reaches the maximum available cores in the system which can be known from
> 'nproc' command.
> On the other hand, by default meson runs all tests in parallel in different threads
> which can be controlled by MESON_TESTTHREAD option.
> eg. MESON_TESTTHREAD=4 meson test --suite DPDK:fast-tests
> 
> 2)FreeBSD dont support file-prefix, so  changes are made to run the tests
> without 'file-prefix'option.

Nit-picks: space after file-prefix

Other than that
Reviewed-by: Reshma Pattan <reshma.pattan at intel.com>
Acked-by: Reshma Pattan <reshma.pattan at intel.com>

Thanks,
Reshma


More information about the dev mailing list