From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 07/11] telemetry: add tests for telemetry api Date: Thu, 23 Aug 2018 16:15:37 -0700 Message-ID: <20180823161537.470563a3@xeon-e3> References: <1535026093-101872-1-git-send-email-ciara.power@intel.com> <1535026093-101872-8-git-send-email-ciara.power@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: harry.van.haaren@intel.com, brian.archbold@intel.com, emma.kenny@intel.com, dev@dpdk.org To: Ciara Power Return-path: Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id DD80F2C60 for ; Fri, 24 Aug 2018 01:15:45 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id r1-v6so3370964pgp.11 for ; Thu, 23 Aug 2018 16:15:45 -0700 (PDT) In-Reply-To: <1535026093-101872-8-git-send-email-ciara.power@intel.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 Thu, 23 Aug 2018 13:08:09 +0100 Ciara Power wrote: > This patch adds all tests for the Telemetry API. > The tests added include a parser test, selftest, and socket > messaging tests. > > The parser tests pass valid and invalid messages to the parser > to ensure the correct return values are received. > The selftest tests basic functions in the Telemetry API such as > registering, unregistering, and initialisation. > The socket messaging tests pass messages through the socket and > validates the return message, to ensure the Telemetry API is > responding correctly. > > Signed-off-by: Ciara Power > Signed-off-by: Brian Archbold > --- > drivers/telemetry/telemetry/telemetry_driver.c | 7 + > lib/librte_telemetry/Makefile | 1 + > lib/librte_telemetry/meson.build | 4 +- Please add entry to MAINTAINERS for new libraries.