From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reshma Pattan Subject: [PATCH v9 0/5] add unit tests for bitrate, latency and pdump libraries Date: Tue, 31 Jul 2018 17:40:51 +0100 Message-ID: <1533055256-10317-1-git-send-email-reshma.pattan@intel.com> Cc: anatoly.burakov@intel.com, jananeex.m.parthasarathy@intel.com, Reshma Pattan , Naga Suresh Somarowthu To: thomas@monjalon.net, dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E495E2C55 for ; Tue, 31 Jul 2018 18:41:01 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Reshma Pattan 1/5: add helper functions for tests using ring-PMD Rx/Tx 2/5: unit test cases added for bitrate library 3/5: unit test cases added for latencystats library 4/5: unit test cases added for pdump library 5/5: added new unit tests to autotest list Patches 2/5,3/5 depends on 1/5 Patch 4/5 depends on 1/5 and the below patch http://patches.dpdk.org/patch/43354/ Signed-off-by: Naga Suresh Somarowthu Reviewed-by: Reshma Pattan Reviewed-by: Remy Horton Reviewed-by: Anatoly Burakov Acked-by: Reshma Pattan --- 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 Reshma Pattan (1): autotest: add new unit tests to autotest list test/test/Makefile | 9 ++ test/test/autotest_data.py | 18 +++ 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 | 229 +++++++++++++++++++++++++++++++++++++ test/test/test_latencystats.c | 216 +++++++++++++++++++++++++++++++++++ test/test/test_pdump.c | 232 ++++++++++++++++++++++++++++++++++++++ test/test/test_pdump.h | 31 +++++ 10 files changed, 904 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.14.4