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 68761A0495 for ; Mon, 10 Jun 2019 09:42:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3F74B1BF1E; Mon, 10 Jun 2019 09:42:33 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 110FB1BF18 for ; Mon, 10 Jun 2019 09:42:30 +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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jun 2019 00:42:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,573,1557212400"; d="scan'208";a="183338100" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 10 Jun 2019 00:42:29 -0700 From: yaobing To: dts@dpdk.org Cc: yaobing Date: Mon, 10 Jun 2019 15:46:51 +0800 Message-Id: <1560152811-152029-1-git-send-email-bingx.y.yao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/ipsec_gw:build ipsec-secgw 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" build the sample app ipsec-secgw before tests Signed-off-by: yaobing --- tests/TestSuite_ipsec_gw_cryptodev_func.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_ipsec_gw_cryptodev_func.py b/tests/TestSuite_ipsec_gw_cryptodev_func.py index dc49577..f4e2f37 100644 --- a/tests/TestSuite_ipsec_gw_cryptodev_func.py +++ b/tests/TestSuite_ipsec_gw_cryptodev_func.py @@ -79,6 +79,9 @@ class TestIPsecGW(TestCase): self._app_path = "./examples/ipsec-secgw/build/ipsec-secgw" if not cc.is_build_skip(self): cc.build_dpdk_with_cryptodev(self) + out =self.dut.build_dpdk_apps("./examples/ipsec-secgw") + 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.17.2