[dts] [PATCH V1] tests/ipsec_gw:build ipsec-secgw before tests

yaobing bingx.y.yao at intel.com
Mon Jun 10 09:46:51 CEST 2019


build the sample app ipsec-secgw before tests

Signed-off-by: yaobing <bingx.y.yao at intel.com>
---
 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



More information about the dts mailing list