[v2,0/2] app/acl: help to automate testing
Message ID | 20210726115137.6994-1-konstantin.ananyev@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8DB14A0C47; Mon, 26 Jul 2021 13:52:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 543B740F35; Mon, 26 Jul 2021 13:52:02 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 10ACE40DDA for <dev@dpdk.org>; Mon, 26 Jul 2021 13:52:00 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10056"; a="276012328" X-IronPort-AV: E=Sophos;i="5.84,270,1620716400"; d="scan'208";a="276012328" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 04:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,270,1620716400"; d="scan'208";a="473661324" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by fmsmga008.fm.intel.com with ESMTP; 26 Jul 2021 04:51:58 -0700 From: Konstantin Ananyev <konstantin.ananyev@intel.com> To: dev@dpdk.org Cc: Konstantin Ananyev <konstantin.ananyev@intel.com> Date: Mon, 26 Jul 2021 12:51:35 +0100 Message-Id: <20210726115137.6994-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210518112619.4237-1-konstantin.ananyev@intel.com> References: <20210518112619.4237-1-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] app/acl: help to automate testing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Ananyev, Konstantin
July 26, 2021, 11:51 a.m. UTC
The purpose of this series is to help automate ACL library functional testing using test-acl app. First patch adds into test-acl ability to skip comment/empty lines. Second patch adds script for automate testing. Sample input files are also provided. v2: - Added ability to skip comment/empty lines - Fixed check-spdx-tag.sh complains (Thomas) Konstantin Ananyev (2): app/acl: allow comment and empty lines app/acl: add script for automate testing app/test-acl/input/acl1v4_5_rule | 7 +++ app/test-acl/input/acl1v4_5_trace | 7 +++ app/test-acl/input/acl1v6_1_rule | 3 + app/test-acl/input/acl1v6_1_trace | 4 ++ app/test-acl/main.c | 51 ++++++++++++++--- app/test-acl/test-acl.sh | 94 +++++++++++++++++++++++++++++++ 6 files changed, 157 insertions(+), 9 deletions(-) create mode 100644 app/test-acl/input/acl1v4_5_rule create mode 100644 app/test-acl/input/acl1v4_5_trace create mode 100644 app/test-acl/input/acl1v6_1_rule create mode 100644 app/test-acl/input/acl1v6_1_trace create mode 100644 app/test-acl/test-acl.sh