test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Peng, Yuan" <yuan.peng@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Peng, Yuan" <yuan.peng@intel.com>
Subject: Re: [dts] [PATCH]tests:unit_tests_dump correct the pci address
Date: Thu, 28 Jul 2016 02:35:01 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E22263920@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1469670371-25108-1-git-send-email-yuan.peng@intel.com>

Thanks, applied.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of pengyuan
> Sent: Thursday, July 28, 2016 9:46 AM
> To: dts@dpdk.org
> Cc: Peng, Yuan
> Subject: [dts] [PATCH]tests:unit_tests_dump correct the pci address
> 
> Signed-off-by: pengyuan <yuan.peng@intel.com>
> 
> diff --git a/tests/TestSuite_unit_tests_dump.py
> b/tests/TestSuite_unit_tests_dump.py
> index 381c2fe..afdc256 100644
> --- a/tests/TestSuite_unit_tests_dump.py
> +++ b/tests/TestSuite_unit_tests_dump.py
> @@ -185,19 +185,19 @@ class TestUnitTestsDump(TestCase):
>          Run devargs dump test case.
>          """
>          test_port = self.dut_ports[0]
> -        self.dut.send_expect("./%s/app/test -n 1 -c ffff -b 0000:%s"
> +        self.dut.send_expect("./%s/app/test -n 1 -c ffff -b %s"
>                               % (self.target,
> self.dut.ports_info[test_port]['pci']), "R.*T.*E.*>.*>",
> self.start_test_time)
>          out = self.dut.send_expect("dump_devargs", "RTE>>",
> self.run_cmd_time * 2)
>          self.dut.send_expect("quit", "# ")
> -        black_str = "PCI blacklist 0000:%s" %
> self.dut.ports_info[test_port]['pci']
> +        black_str = "PCI blacklist %s" %
> self.dut.ports_info[test_port]['pci']
>          self.verify(black_str in out, "Dump black list failed")
> 
> -        self.dut.send_expect("./%s/app/test -n 1 -c ffff -w 0000:%s"
> +        self.dut.send_expect("./%s/app/test -n 1 -c ffff -w %s"
>                               % (self.target,
> self.dut.ports_info[test_port]['pci']), "R.*T.*E.*>.*>",
> self.start_test_time)
>          out = self.dut.send_expect("dump_devargs", "RTE>>",
> self.run_cmd_time * 2)
>          self.dut.send_expect("quit", "# ")
> 
> -        white_str = "PCI whitelist 0000:%s" %
> self.dut.ports_info[test_port]['pci']
> +        white_str = "PCI whitelist %s" %
> self.dut.ports_info[test_port]['pci']
>          self.verify(white_str in out, "Dump white list failed")
> 
>      def tear_down(self):
> --
> 2.5.5

      reply	other threads:[~2016-07-28  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28  1:46 pengyuan
2016-07-28  2:35 ` Liu, Yong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E22263920@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yuan.peng@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).