From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 50022A0C41; Thu, 16 Sep 2021 15:02:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C734340151; Thu, 16 Sep 2021 15:02:48 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 3E6CD4003F for ; Thu, 16 Sep 2021 15:02:47 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10108"; a="202055660" X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="202055660" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 06:02:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="553912356" Received: from silpixa00400885.ir.intel.com ([10.243.23.122]) by fmsmga002.fm.intel.com with ESMTP; 16 Sep 2021 06:02:43 -0700 From: Fan Zhang To: dev@dpdk.org Cc: gakhil@marvell.com, Fan Zhang , g.singh@nxp.com Date: Thu, 16 Sep 2021 14:02:42 +0100 Message-Id: <20210916130242.126316-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] app/test: fix pdcp short mac test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Fixes: c24489e479fd ("test/crypto: support PDCP short MAC-I") Cc: g.singh@nxp.com This patch fixes the pdcp short mac-i test by removing them from snow3g and kasumi test suite and move to pdcp test suite. This is to prevent incorrect failure for crypto device not support pdcp. Signed-off-by: Fan Zhang --- app/test/test_cryptodev.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 16d770a17f..d19482c20a 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -8886,6 +8886,7 @@ test_PDCP_PROTO_all(void) status += test_PDCP_PROTO_SGL_oop_128B_32B(); status += test_PDCP_SDAP_PROTO_encap_all(); status += test_PDCP_SDAP_PROTO_decap_all(); + status += test_PDCP_PROTO_short_mac(); if (status) return TEST_FAILED; @@ -14083,8 +14084,6 @@ static struct unit_test_suite cryptodev_snow3g_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_snow3g_encryption_test_case_5), - TEST_CASE_ST(ut_setup, ut_teardown, - test_PDCP_PROTO_short_mac), TEST_CASE_ST(ut_setup, ut_teardown, test_snow3g_encryption_test_case_1_oop), TEST_CASE_ST(ut_setup, ut_teardown, @@ -14324,9 +14323,6 @@ static struct unit_test_suite cryptodev_kasumi_testsuite = { test_kasumi_decryption_test_case_5), TEST_CASE_ST(ut_setup, ut_teardown, test_kasumi_decryption_test_case_1_oop), - - TEST_CASE_ST(ut_setup, ut_teardown, - test_PDCP_PROTO_short_mac), TEST_CASE_ST(ut_setup, ut_teardown, test_kasumi_cipher_auth_test_case_1), -- 2.25.1