[dts] add debug info for queue start stop case

Liu, Yong yong.liu at intel.com
Fri Jul 17 10:37:44 CEST 2015


That's only temporary fix in branch 1.1 and will be removed after found root cause.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of huilong,xu
> Sent: Friday, July 17, 2015 4:08 PM
> To: dts at dpdk.org
> Subject: [dts] add debug info for queue start stop case
> 
> From: huilong xu <huilongx.xu at intel.com>
> 
> 
> Signed-off-by: huilong xu <huilongx.xu at intel.com>
> ---
>  tests/TestSuite_queue_start_stop.py |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/tests/TestSuite_queue_start_stop.py
> b/tests/TestSuite_queue_start_stop.py
> index d62cc8c..da55247 100644
> --- a/tests/TestSuite_queue_start_stop.py
> +++ b/tests/TestSuite_queue_start_stop.py
> @@ -70,7 +70,12 @@ class TestQueueStartStop(TestCase):
>          """
>          Run before each test case.
>          """
> -        patch_file = FOLDERS["Depends"] + r'/macfwd_log.patch'
> +        try:
> +            patch_file = FOLDERS["Depends"] + r'/macfwd_log.patch'
> +        except:
> +            self.logger.warningstr(FOLDERS))
> +            patch_file = r'dep/macfwd_log.patch'
> +            FOLDERS["Depends"] = 'dep'
>          patch_dst = "/tmp/"
> 
>          # dpdk patch and build
> --
> 1.7.4.4



More information about the dts mailing list