test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yu Jiang <yux.jiang@intel.com>
To: lijuan.tu@intel.com, dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [dts][PATCH V1] tests/pf_smoke: modify script when TG with Trex and SUT are the same server
Date: Fri, 13 Jan 2023 17:38:51 +0800	[thread overview]
Message-ID: <20230113093854.634776-2-yux.jiang@intel.com> (raw)
In-Reply-To: <20230113093854.634776-1-yux.jiang@intel.com>

"TREX" directory also under /var/run/dpdk, 
When TG with Trex and SUT are the same server, 

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_pf_smoke.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_pf_smoke.py b/tests/TestSuite_pf_smoke.py
index 909c7e1b..19cac513 100644
--- a/tests/TestSuite_pf_smoke.py
+++ b/tests/TestSuite_pf_smoke.py
@@ -68,7 +68,7 @@ class TestPfSmoke(TestCase):
         out = self.check_session.send_expect(
             "ls -l /var/run/dpdk |awk '/^d/ {print $NF}'", "# ", 1
         )
-        if out == "" or "No such file or directory" in out:
+        if out == "" or out == 'TREX'  or "No such file or directory" in out:
             self.pf_launch_dpdk_app()
 
     def pf_launch_dpdk_app(self):
-- 
2.25.1


  reply	other threads:[~2023-01-13  9:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13  9:38 [dts][PATCH V1 0/2] remove unit_tests_* and replace with meson_tests and remove other invalid suites Yu Jiang
2023-01-13  9:38 ` Yu Jiang [this message]
2023-01-13  9:38 ` [dts][PATCH V1] tests/vf_l2fwd: rebind interfaces to vfio-pci to avoid impacting pf suite Yu Jiang
2023-01-13  9:41   ` Yuan, DukaiX
2023-01-13  9:38 ` [dts][PATCH V1 1/2] usr_guide and executions: remove unit_tests_* and replace with meson_tests Yu Jiang
2023-01-13  9:38 ` [dts][PATCH V1 2/2] test_plans/ABI_stable: remove unit_tests_* and replace with meson_tests and remove other invalid suites Yu Jiang

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=20230113093854.634776-2-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@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).