From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 07:13:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="63189857" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by orsmga003.jf.intel.com with SMTP; 29 Jun 2018 07:13:17 -0700 Received: by (sSMTP sendmail emulation); Fri, 29 Jun 2018 15:13:14 +0100 Date: Fri, 29 Jun 2018 15:13:13 +0100 From: Bruce Richardson To: Medvedkin Vladimir Cc: dev@dpdk.org, thomas@monjalon.net, cristian.dumitrescu@intel.com 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 Content-Disposition: inline In-Reply-To: <1524780214-23196-4-git-send-email-medvedkinv@gmail.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.0 (2018-05-17) Subject: Re: [dpdk-dev] [PATCH v4 3/4] Add autotests for RIB library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 14:13:28 -0000 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.