[dpdk-dev] [PATCH v4 3/4] Add autotests for RIB library
Bruce Richardson
bruce.richardson at intel.com
Fri Jun 29 16:13:13 CEST 2018
On Fri, Apr 27, 2018 at 01:03:33AM +0300, Medvedkin Vladimir wrote:
> Signed-off-by: Medvedkin Vladimir <medvedkinv at gmail.com>
> ---
> test/test/Makefile | 5 +
> test/test/meson.build | 8 +
> test/test/test_rib.c | 308 +++++++++++++++++++++++++++++++++++++++
> test/test/test_rib_generate_rt.c | 297 +++++++++++++++++++++++++++++++++++++
> test/test/test_rib_generate_rt.h | 38 +++++
> test/test/test_rib_lpm_comp.c | 189 ++++++++++++++++++++++++
> test/test/test_rib_perf.c | 145 ++++++++++++++++++
> 7 files changed, 990 insertions(+)
> create mode 100644 test/test/test_rib.c
> create mode 100644 test/test/test_rib_generate_rt.c
> create mode 100644 test/test/test_rib_generate_rt.h
> create mode 100644 test/test/test_rib_lpm_comp.c
> create mode 100644 test/test/test_rib_perf.c
>
Clang is giving some errors after this patch, nothing to serious, but they
need to be fixed in the next version:
../test/test/test_rib_perf.c:87:12: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if ((ret == 0))
~~~~^~~~
../test/test/test_rib_perf.c:87:12: note: remove extraneous parentheses around the comparison to silence this warning
if ((ret == 0))
~ ^ ~
../test/test/test_rib_perf.c:87:12: note: use '=' to turn this equality comparison into an assignment
if ((ret == 0))
^~
=
1 error generated.
More information about the dev
mailing list