test suite reviews and discussions
 help / color / mirror / Atom feed
From: yufengmx <yufengx.mo@intel.com>
To: dts@dpdk.org, lei.a.yao@intel.com
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V3 1/7] power_bidirection_channel: support meson
Date: Fri, 25 Sep 2020 10:17:05 +0800	[thread overview]
Message-ID: <20200925021711.33756-2-yufengx.mo@intel.com> (raw)
In-Reply-To: <20200925021711.33756-1-yufengx.mo@intel.com>


support meson build.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_power_bidirection_channel.py | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/tests/TestSuite_power_bidirection_channel.py b/tests/TestSuite_power_bidirection_channel.py
index 8159e11..05e135a 100644
--- a/tests/TestSuite_power_bidirection_channel.py
+++ b/tests/TestSuite_power_bidirection_channel.py
@@ -63,13 +63,8 @@ class TestPowerBidirectionChannel(TestCase):
         _host_crb = host_crb if host_crb else self.dut
         example_dir = "examples/" + name
         out = _host_crb.build_dpdk_apps('./' + example_dir)
-        self.verify("Error" not in out, "Compilation error")
-        self.verify("No such" not in out, "Compilation error")
-        binary_dir = os.path.join(self.target_dir, example_dir, 'build')
-        cmd = ["ls -F {0} | grep '*'".format(binary_dir), '# ', 5]
-        exec_file = self.execute_cmds(cmd, name=_host_crb.session.name)
-        binary_file = os.path.join(binary_dir, exec_file[:-1])
-        return binary_file
+        return os.path.join(self.target_dir,
+                            _host_crb.apps_name[os.path.basename(name)])
 
     def add_console(self, session):
         self.ext_con[session.name] = [
-- 
2.21.0


  reply	other threads:[~2020-09-25  2:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25  2:17 [dts] [PATCH V3 0/7] power: power suite series " yufengmx
2020-09-25  2:17 ` yufengmx [this message]
2020-09-25  2:17 ` [dts] [PATCH V3 2/7] power_empty_poll: " yufengmx
2020-09-25  2:17 ` [dts] [PATCH V3 3/7] power_pbf: " yufengmx
2020-09-25  2:17 ` [dts] [PATCH V3 4/7] power_pstate: " yufengmx
2020-09-25  2:17 ` [dts] [PATCH V3 5/7] power_telemetry: " yufengmx
2020-09-25  2:17 ` [dts] [PATCH V3 6/7] vm_pw_mgmt_policy: " yufengmx
2020-09-25  2:17 ` [dts] [PATCH V3 7/7] malicious_driver_event_indication: " yufengmx
2020-09-25  2:25 ` [dts] [PATCH V3 0/7] power: power suite series " Mo, YufengX
2020-10-12  8:48 ` Tu, Lijuan
2020-10-12  8:48 ` Tu, Lijuan

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=20200925021711.33756-2-yufengx.mo@intel.com \
    --to=yufengx.mo@intel.com \
    --cc=dts@dpdk.org \
    --cc=lei.a.yao@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).