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

Tu, Lijuan lijuan.tu at intel.com
Wed Jun 12 04:53:30 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yaobing
> Sent: Monday, June 10, 2019 3:47 PM
> To: dts at dpdk.org
> Cc: Yao, BingX Y <bingx.y.yao at intel.com>
> Subject: [dts] [PATCH V1] tests/ipsec_gw:build ipsec-secgw before tests
> 
> 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