test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1 0/1] tests/flow_classify_softnic: fix target source code directory issue
@ 2019-09-12  7:54 yufengmx
  2019-09-12  7:54 ` [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code yufengmx
  0 siblings, 1 reply; 4+ messages in thread
From: yufengmx @ 2019-09-12  7:54 UTC (permalink / raw)
  To: dts, yuan.peng, wenjiex.a.li; +Cc: yufengmx

 For hard code of target source code directory, this script can't run with --dir option. 

yufengmx (1):
  tests/flow_classify_softnic: fix target source code directory issue

 tests/TestSuite_flow_classify_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0


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

* [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
  2019-09-12  7:54 [dts] [PATCH V1 0/1] tests/flow_classify_softnic: fix target source code directory issue yufengmx
@ 2019-09-12  7:54 ` yufengmx
  2019-09-16  1:50   ` Mo, YufengX
  2019-09-20  6:21   ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: yufengmx @ 2019-09-12  7:54 UTC (permalink / raw)
  To: dts, yuan.peng, wenjiex.a.li; +Cc: yufengmx

 directory issue

change hard code of target source code directory.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_flow_classify_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py
index a649a44..33f701e 100644
--- a/tests/TestSuite_flow_classify_softnic.py
+++ b/tests/TestSuite_flow_classify_softnic.py
@@ -72,7 +72,7 @@ class TestFlowClassifySoftnic(TestCase):
         file = 'flow_classify_softnic.tar.gz'
         src_file = r'./dep/%s' % file
         dst1 = '/tmp'
-        dst2 = '/root/dpdk/drivers/net/softnic'
+        dst2 = os.path.join(self.dut.base_dir, 'drivers/net/softnic')
         self.dut.session.copy_file_to(src_file, dst1)
         self.dut.send_expect("tar xf %s/%s -C %s" % (dst1, file, dst2), "#", 30)
 
-- 
2.21.0


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

* Re: [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
  2019-09-12  7:54 ` [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code yufengmx
@ 2019-09-16  1:50   ` Mo, YufengX
  2019-09-20  6:21   ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Mo, YufengX @ 2019-09-16  1:50 UTC (permalink / raw)
  To: dts; +Cc: Peng, Yuan, Li, WenjieX A

tested by Mo, YufengX <yufengx.mo@intel.com>

> -----Original Message-----
> From: Mo, YufengX
> Sent: Thursday, September 12, 2019 3:55 PM
> To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>; Li, WenjieX A <wenjiex.a.li@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
> 
>  directory issue
> 
> change hard code of target source code directory.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_flow_classify_softnic.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py
> index a649a44..33f701e 100644
> --- a/tests/TestSuite_flow_classify_softnic.py
> +++ b/tests/TestSuite_flow_classify_softnic.py
> @@ -72,7 +72,7 @@ class TestFlowClassifySoftnic(TestCase):
>          file = 'flow_classify_softnic.tar.gz'
>          src_file = r'./dep/%s' % file
>          dst1 = '/tmp'
> -        dst2 = '/root/dpdk/drivers/net/softnic'
> +        dst2 = os.path.join(self.dut.base_dir, 'drivers/net/softnic')
>          self.dut.session.copy_file_to(src_file, dst1)
>          self.dut.send_expect("tar xf %s/%s -C %s" % (dst1, file, dst2), "#", 30)
> 
> --
> 2.21.0


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

* Re: [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
  2019-09-12  7:54 ` [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code yufengmx
  2019-09-16  1:50   ` Mo, YufengX
@ 2019-09-20  6:21   ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-09-20  6:21 UTC (permalink / raw)
  To: Mo, YufengX, dts, Peng, Yuan, Li, WenjieX A; +Cc: Mo, YufengX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Thursday, September 12, 2019 3:55 PM
> To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>; Li, WenjieX A
> <wenjiex.a.li@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source
> code
> 
>  directory issue
> 
> change hard code of target source code directory.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_flow_classify_softnic.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_flow_classify_softnic.py
> b/tests/TestSuite_flow_classify_softnic.py
> index a649a44..33f701e 100644
> --- a/tests/TestSuite_flow_classify_softnic.py
> +++ b/tests/TestSuite_flow_classify_softnic.py
> @@ -72,7 +72,7 @@ class TestFlowClassifySoftnic(TestCase):
>          file = 'flow_classify_softnic.tar.gz'
>          src_file = r'./dep/%s' % file
>          dst1 = '/tmp'
> -        dst2 = '/root/dpdk/drivers/net/softnic'
> +        dst2 = os.path.join(self.dut.base_dir, 'drivers/net/softnic')
>          self.dut.session.copy_file_to(src_file, dst1)
>          self.dut.send_expect("tar xf %s/%s -C %s" % (dst1, file, dst2), "#", 30)
> 
> --
> 2.21.0


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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12  7:54 [dts] [PATCH V1 0/1] tests/flow_classify_softnic: fix target source code directory issue yufengmx
2019-09-12  7:54 ` [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code yufengmx
2019-09-16  1:50   ` Mo, YufengX
2019-09-20  6:21   ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	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


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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