[dts] [PATCH] tests/l2fwd_cryptodev_func: build the sample app l2fwd-crypto before tests.

michael.luo at intel.com michael.luo at intel.com
Mon Apr 8 03:26:38 CEST 2019


From: Luo Gaoliang <michael.luo at intel.com>

Signed-off-by: Luo Gaoliang <michael.luo at intel.com>
---
 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



More information about the dts mailing list