From patchwork Fri Aug 3 14:33:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 43579 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12BD51B59A; Fri, 3 Aug 2018 16:33:19 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4AEDB1B578 for ; Fri, 3 Aug 2018 16:33:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Aug 2018 07:33:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,438,1526367600"; d="scan'208";a="250866697" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga005.fm.intel.com with ESMTP; 03 Aug 2018 07:33:15 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w73EXE6F008554; Fri, 3 Aug 2018 15:33:14 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w73EXBVA012169; Fri, 3 Aug 2018 15:33:11 +0100 Received: (from jmparthx@localhost) by wgcvswdev001.ir.intel.com with ? id w73EXBhd012164; Fri, 3 Aug 2018 15:33:11 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: remy.horton@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 3 Aug 2018 15:33:04 +0100 Message-Id: <1533306787-12070-1-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1532183219-23263-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1532183219-23263-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH v3 0/3] add unit test for metrics 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 1/3: add unit tests for metrics library 2/3: add new unit tests to autotest list 3/3: updated maintainer for metrics test Signed-off-by: Hari Kumar Vemula Reviewed-by: Reshma Pattan Acked-by: Reshma Pattan --- v3: Resolved clang compilation issue, changed the expected value of tests in test_metrics_without_init as per library fix added metrics test to the autotest list updated maintainers file for metrics unit test v2: Removal of overstated array size based testcases as suggested --- Hari Kumar Vemula (3): test: add unit tests for metrics library autotest: add new unit tests to autotest list maintainers: add metrics test MAINTAINERS | 1 + test/test/Makefile | 2 + test/test/autotest_data.py | 6 + test/test/test_metrics.c | 312 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 321 insertions(+) create mode 100644 test/test/test_metrics.c