test suite reviews and discussions
 help / color / mirror / Atom feed
* RE: [dts] [PATCH V1] tests/userspace_ethtool: optimization script
  2022-04-28 14:39 [dts] [PATCH V1] tests/userspace_ethtool: optimization script Jiale Song
@ 2022-04-28  7:09 ` Huang, ZhiminX
  2022-05-05  6:12 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: Huang, ZhiminX @ 2022-04-28  7:09 UTC (permalink / raw)
  To: Jiale, SongX, dts; +Cc: Jiale, SongX

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Thursday, April 28, 2022 10:39 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/userspace_ethtool: optimization script
> 
> In some case tests, the port is bound to the kernel driver. when these cases fail,
> the port will always be bound to the kernel driver, affecting the tests of later
> cases.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
> ---
Tested-by: Zhimin Huang <zhiminx.huang@intel.com >



[-- Attachment #2: TestUserspaceEthtool.log --]
[-- Type: application/octet-stream, Size: 360699 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/userspace_ethtool: optimization script
@ 2022-04-28 14:39 Jiale Song
  2022-04-28  7:09 ` Huang, ZhiminX
  2022-05-05  6:12 ` lijuan.tu
  0 siblings, 2 replies; 3+ messages in thread
From: Jiale Song @ 2022-04-28 14:39 UTC (permalink / raw)
  To: dts; +Cc: Jiale Song

In some case tests, the port is bound to the kernel driver. when these cases fail, 
the port will always be bound to the kernel driver, affecting the tests of later cases.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 2b0269f4..c1818722 100755
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -699,6 +699,7 @@ class TestUserspaceEthtool(TestCase):
         """
         Run after each test case.
         """
+        self.dut.bind_interfaces_linux(self.drivername)
         self.dut.kill_all()
         pass
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/userspace_ethtool: optimization script
  2022-04-28 14:39 [dts] [PATCH V1] tests/userspace_ethtool: optimization script Jiale Song
  2022-04-28  7:09 ` Huang, ZhiminX
@ 2022-05-05  6:12 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-05-05  6:12 UTC (permalink / raw)
  To: dts, Jiale Song; +Cc: Jiale Song

On Thu, 28 Apr 2022 14:39:24 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> In some case tests, the port is bound to the kernel driver. when these cases fail, 
> the port will always be bound to the kernel driver, affecting the tests of later cases.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-05  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 14:39 [dts] [PATCH V1] tests/userspace_ethtool: optimization script Jiale Song
2022-04-28  7:09 ` Huang, ZhiminX
2022-05-05  6:12 ` lijuan.tu

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git