test suite reviews and discussions
 help / color / mirror / Atom feed
From: Chen Linglix <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Chen Linglix <linglix.chen@intel.com>
Subject: [dts] [dts 14/15] tests/TestSuite_unit_tests_ring:update to support meson build
Date: Thu,  3 Sep 2020 16:28:38 +0800	[thread overview]
Message-ID: <20200903082839.30213-15-linglix.chen@intel.com> (raw)
In-Reply-To: <20200903082839.30213-1-linglix.chen@intel.com>

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_ring.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_ring.py b/tests/TestSuite_unit_tests_ring.py
index 896912b..8c7e062 100644
--- a/tests/TestSuite_unit_tests_ring.py
+++ b/tests/TestSuite_unit_tests_ring.py
@@ -71,7 +71,8 @@ class TestUnitTestsRing(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("ring_autotest", "RTE>>", 36000)
         self.verify("Test OK" in out, "Test failed")
 
@@ -81,7 +82,8 @@ class TestUnitTestsRing(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target ,eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("ring_perf_autotest", "RTE>>", 210)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


  parent reply	other threads:[~2020-09-03  8:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
2020-09-03  8:28 ` [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build Chen Linglix
2020-09-03  8:28 ` [dts] [dts 02/15] tests/TestSuite_unit_tests_crc:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 03/15] tests/TestSuite_unit_tests_dump:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 05/15] tests/TestSuite_unit_tests_kni:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 06/15] tests/TestSuite_unit_tests_loopback:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 07/15] tests/TestSuite_unit_tests_lpm:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 08/15] tests/TestSuite_unit_tests_mbuf:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 09/15] tests/TestSuite_unit_tests_mempool:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 10/15] tests/TestSuite_unit_tests_pmd_perf:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 11/15] tests/TestSuite_unit_tests_power:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 12/15] tests/TestSuite_unit_tests_qos:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 13/15] tests/TestSuite_unit_tests_ringpmd:update " Chen Linglix
2020-09-03  8:28 ` Chen Linglix [this message]
2020-09-03  8:28 ` [dts] [dts 15/15] tests/TestSuite_unit_tests_timer:update " Chen Linglix
2020-09-03  8:41 ` [dts] [PATCH V1 00/15] support meson build method Chen, LingliX
2020-09-09  8:09   ` Tu, Lijuan
2020-09-04  6:09 ` Ma, LihongX

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=20200903082839.30213-15-linglix.chen@intel.com \
    --to=linglix.chen@intel.com \
    --cc=dts@dpdk.org \
    /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).