From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 3/4] Add autotests for RIB library Date: Fri, 29 Jun 2018 15:13:13 +0100 Message-ID: <20180629141313.GC756@bricha3-MOBL.ger.corp.intel.com> References: <1524780214-23196-1-git-send-email-medvedkinv@gmail.com> <1524780214-23196-4-git-send-email-medvedkinv@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, thomas@monjalon.net, cristian.dumitrescu@intel.com To: Medvedkin Vladimir Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 40422101B for ; Fri, 29 Jun 2018 16:13:28 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1524780214-23196-4-git-send-email-medvedkinv@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Apr 27, 2018 at 01:03:33AM +0300, Medvedkin Vladimir wrote: > Signed-off-by: Medvedkin Vladimir > --- > 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.