[RFC PATCH] app/test: invoke all telemetry commands

fengchengwen fengchengwen at huawei.com
Sat May 21 04:43:37 CEST 2022


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 2022/5/19 20:47, David Marchand wrote:
> Try and call all possible telemetry commands.
> Each commands is tested with no argument, 0 (for command that accepts
> a single integer like for a port identifier) and z (to catch commands
> not properly validating input).
> Fake cryptodev, ethdev and eventdev ports are created using dummy
> drivers.
> 
> Output of the commands is not checked, the point of this test is mainly
> to catch simple issues and leaks (when coupled with ASan in the CI).
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> Note: sending this WIP patch as this is how I currently test telemetry
> patches. I am fine with whoever wants to take over and implement this in
> another scripting language.
> 
> CI will flag this patch as failing because of two pre-existing bugs
> for which we have yet unmerged fixes:
> - https://patchwork.dpdk.org/project/dpdk/patch/20220513025357.52275-8-fengchengwen@huawei.com/
> - https://patchwork.dpdk.org/project/dpdk/patch/20220519122151.3119730-1-david.marchand@redhat.com/
> 

...



More information about the dev mailing list