[dpdk-stable] [PATCH v1 1/2] raw/skeleton: reset rawdev test statistics

Thomas Monjalon thomas at monjalon.net
Tue Oct 6 23:31:33 CEST 2020


21/09/2020 23:44, Lukasz Wojciechowski:
> Statistics: passed, failed, unsupported and total are kept
> in global static variables. As global variables they are initiated
> with zeroes. However running test multiple times cumulates results
> from previous calls.
> 
> This patch resets statistics with zeroes in testsuite_setup().
> 
> To reproduce issue fixed by this patch, run rawdev_autotest command
> in dpdk-test app multiple times.
> 
> Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases")
> Cc: shreyansh.jain at nxp.com
> 
> Cc: stable at dpdk.org
> 
> Signed-off-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>

Applied, thanks






More information about the stable mailing list