From patchwork Thu Aug 18 13:34:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak Kumar JAIN X-Patchwork-Id: 15231 X-Patchwork-Delegate: pablo.de.lara.guarch@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 28384677C; Thu, 18 Aug 2016 15:34:57 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 60A555AA3 for ; Thu, 18 Aug 2016 15:34:52 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 18 Aug 2016 06:34:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,539,1464678000"; d="scan'208";a="750440223" Received: from sie-lab-214-241.ir.intel.com (HELO silpixa00382162.ir.intel.com) ([10.237.214.241]) by FMSMGA003.fm.intel.com with ESMTP; 18 Aug 2016 06:34:37 -0700 From: Deepak Kumar Jain To: pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com, john.griffin@intel.com Cc: dev@dpdk.org, Deepak Kumar Jain Date: Thu, 18 Aug 2016 14:34:32 +0100 Message-Id: <1471527272-81483-3-git-send-email-deepak.k.jain@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1471527272-81483-1-git-send-email-deepak.k.jain@intel.com> References: <1471527272-81483-1-git-send-email-deepak.k.jain@intel.com> Subject: [dpdk-dev] [PATCH 2/2] app/test: add test cases for NULL for Intel QAT driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Added NULL algorithm to test file for Intel(R) QuickAssist Technology Driver Signed-off-by: Deepak Kumar Jain --- app/test/test_cryptodev.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 8553759..67ca912 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -4136,6 +4136,16 @@ static struct unit_test_suite cryptodev_qat_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_MD5_HMAC_verify_case_2), + /** NULL tests */ + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_auth_only_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_cipher_only_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_cipher_auth_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_auth_cipher_operation), + TEST_CASES_END() /**< NULL terminate unit test array */ } };