From mboxrd@z Thu Jan 1 00:00:00 1970 From: Naga Suresh Somarowthu Subject: [PATCH v6 0/4] add unit tests for bitrate, latency and pdump libraries Date: Wed, 25 Jul 2018 18:05:56 +0100 Message-ID: <1532538360-8773-1-git-send-email-naga.sureshx.somarowthu@intel.com> References: <1532429671-1606-1-git-send-email-naga.sureshx.somarowthu@intel.com> Cc: remy.horton@intel.com, reshma.pattan@intel.com, Naga Suresh Somarowthu To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 6347E3250 for ; Wed, 25 Jul 2018 19:06:16 +0200 (CEST) In-Reply-To: <1532429671-1606-1-git-send-email-naga.sureshx.somarowthu@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" 1/4: add ring pmd based packet helper functions for UT 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 depends on 1/4 Patch 4/4 depends on 1/4 and the below patch http://patches.dpdk.org/patch/43354/ Signed-off-by: Naga Suresh Somarowthu Reviewed-by: Reshma Pattan Reviewed-by: Remy Horton --- v6: updated ring variable appropriately v5: rebased, freed pools and rings, created common patch set --- Naga Suresh Somarowthu (4): test: add ring pmd based packet rx/tx for UT test: add unit tests for bitrate library test: add unit tests for latencystats library test: add unit test for pdump library test/test/Makefile | 9 ++ test/test/autotest_data.py | 12 ++ test/test/process.h | 12 ++ test/test/sample_packet_forward.c | 115 +++++++++++++++++++ test/test/sample_packet_forward.h | 40 +++++++ test/test/test.c | 2 + test/test/test_bitratestats.c | 227 +++++++++++++++++++++++++++++++++++++ test/test/test_latencystats.c | 216 +++++++++++++++++++++++++++++++++++ test/test/test_pdump.c | 232 ++++++++++++++++++++++++++++++++++++++ test/test/test_pdump.h | 40 +++++++ 10 files changed, 905 insertions(+) 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