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

Tu, Lijuan lijuan.tu at intel.com
Tue Apr 9 03:40:32 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> michael.luo at intel.com
> Sent: Sunday, April 7, 2019 6:27 PM
> To: dts at dpdk.org
> Subject: [dts] [PATCH] tests/l2fwd_cryptodev_func: build the sample app
> l2fwd-crypto before tests.
> 
> 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