From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E33835F2A for ; Mon, 8 Oct 2018 14:15:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2018 05:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,356,1534834800"; d="scan'208";a="98391999" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 08 Oct 2018 05:15:00 -0700 Received: from wgcvswdev002.ir.intel.com (wgcvswdev002.ir.intel.com [10.102.246.106]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w98CF0kS014734; Mon, 8 Oct 2018 13:15:00 +0100 Received: from wgcvswdev002.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev002.ir.intel.com with ESMTP id w98CCncs022884; Mon, 8 Oct 2018 13:12:49 +0100 Received: (from nsomarox@localhost) by wgcvswdev002.ir.intel.com with œ id w98CCnjh022880; Mon, 8 Oct 2018 13:12:49 +0100 From: Naga Suresh Somarowthu To: dev@dpdk.org Cc: reshma.pattan@intel.com, anatoly.burakov@intel.com, remy.horton@intel.com, Naga Suresh Somarowthu Date: Mon, 8 Oct 2018 13:12:43 +0100 Message-Id: <1539000767-22745-1-git-send-email-naga.sureshx.somarowthu@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1535115087-2442-1> References: <1535115087-2442-1> Subject: [dpdk-dev] [PATCH v14 0/4] add unit tests for bitrate, latency and pdump libraries 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: Mon, 08 Oct 2018 12:15:36 -0000 1/4: add helper functions for tests using ring-PMD Rx/Tx 2/4: unit test cases added for bitrate library 3/4: unit test cases added for latencystats library 4/4: unit test cases added for pdump library Patches 2/4, 3/4 and 4/4 depends on 1/4 Signed-off-by: Naga Suresh Somarowthu Reviewed-by: Reshma Pattan Acked-by: Reshma Pattan --- v14 :rebased v13: added required changes for meson build updated respective patches updated the headers as per IWYU v12: corrected commit message for pdump unit test v11: fixed compilation issue in centos and 32bit arch removed memzone free as per fix in the latency library and updated the maintainers file v10: fixed clang compiler issues and freed latency stats memzone in latency stats unit tests. v9: rebased ontop of latest autotest changes and added new tests to the autotest list v8: renamed commit headline and freed the metrics memzone for bitrate ut v7: removed unused macros and corrected the comment v6: updated ring variable appropriately v5: rebased, freed pools and rings, created common patch set --- Naga Suresh Somarowthu (4): test: add helper functions for tests using ring-PMD Rx/Tx test: add unit tests for bitrate library test: add unit tests for latencystats library test: add unit test for pdump library MAINTAINERS | 10 +- test/test/Makefile | 9 ++ test/test/autotest_data.py | 18 +++ test/test/meson.build | 10 ++ test/test/process.h | 13 +++ test/test/sample_packet_forward.c | 114 +++++++++++++++++++ test/test/sample_packet_forward.h | 46 ++++++++ test/test/test.c | 2 + test/test/test_bitratestats.c | 226 ++++++++++++++++++++++++++++++++++++++ test/test/test_latencystats.c | 224 +++++++++++++++++++++++++++++++++++++ test/test/test_pdump.c | 219 ++++++++++++++++++++++++++++++++++++ test/test/test_pdump.h | 31 ++++++ 12 files changed, 921 insertions(+), 1 deletion(-) create mode 100644 test/test/sample_packet_forward.c create mode 100644 test/test/sample_packet_forward.h create mode 100644 test/test/test_bitratestats.c create mode 100644 test/test/test_latencystats.c create mode 100644 test/test/test_pdump.c create mode 100644 test/test/test_pdump.h -- 2.13.6