From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B851AA0096 for ; Mon, 8 Apr 2019 03:30:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E9F43421; Mon, 8 Apr 2019 03:30:21 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 4F6842C24 for ; Mon, 8 Apr 2019 03:30:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2019 18:30:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,323,1549958400"; d="scan'208";a="159089794" Received: from nfvihost.sh.intel.com ([10.239.182.97]) by fmsmga002.fm.intel.com with ESMTP; 07 Apr 2019 18:30:18 -0700 From: michael.luo@intel.com To: dts@dpdk.org Date: Mon, 8 Apr 2019 09:26:38 +0800 Message-Id: <1554686798-73344-1-git-send-email-michael.luo@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH] tests/l2fwd_cryptodev_func: build the sample app l2fwd-crypto before tests. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Luo Gaoliang Signed-off-by: Luo Gaoliang --- tests/TestSuite_l2fwd_cryptodev_func.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_l2fwd_cryptodev_func.py b/tests/TestSuite_l2fwd_cryptodev_func.py index 546c010..2b1194b 100644 --- a/tests/TestSuite_l2fwd_cryptodev_func.py +++ b/tests/TestSuite_l2fwd_cryptodev_func.py @@ -85,6 +85,10 @@ class TestL2fwdCrypto(TestCase): if not cc.is_build_skip(self): cc.build_dpdk_with_cryptodev(self) + out = self.dut.build_dpdk_apps("./examples/l2fwd-crypto") + self.verify("Error" not in out, "Compilation error") + self.verify("No such" not in out, "Compilation error") + self.vf_driver = self.get_suite_cfg()['vf_driver'] cc.bind_qat_device(self, self.vf_driver) -- 2.7.4