test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path
@ 2020-09-24  5:48 xizhan4x
  2020-09-24  5:48 ` Zhang, XiX
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: xizhan4x @ 2020-09-24  5:48 UTC (permalink / raw)
  To: dts; +Cc: xizhan4x

update scapy_modules path 

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 framework/settings.py                        | 1 +
 tests/TestSuite_vxlan_gpe_support_in_i40e.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/framework/settings.py b/framework/settings.py
index 850fa89..9654f70 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -43,6 +43,7 @@ FOLDERS = {
     'Depends': 'dep',
     'Output': 'output',
     'NicDriver': 'nics',
+    'scapy_modules': 'scapy_modules'
 }
 
 """
diff --git a/tests/TestSuite_vxlan_gpe_support_in_i40e.py b/tests/TestSuite_vxlan_gpe_support_in_i40e.py
index e797802..8b781e3 100644
--- a/tests/TestSuite_vxlan_gpe_support_in_i40e.py
+++ b/tests/TestSuite_vxlan_gpe_support_in_i40e.py
@@ -122,7 +122,7 @@ class VxlanGpeTestConfig(object):
         """
         # load vxlan module to scapy
         cwd = os.getcwd()
-        dir_vxlan_module = cwd + r'/' + FOLDERS['Depends']
+        dir_vxlan_module = cwd + r'/' + FOLDERS['Depends'] + r'/' + FOLDERS['scapy_modules']
         self.test_case.tester.scapy_append("sys.path.append('%s')" % dir_vxlan_module)
         self.test_case.tester.scapy_append("from vxlan import VXLAN")
         self.test_case.tester.scapy_append(
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path
  2020-09-24  5:48 [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path xizhan4x
@ 2020-09-24  5:48 ` Zhang, XiX
  2020-09-29  2:24 ` Ma, LihongX
  2020-10-12  8:19 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Zhang, XiX @ 2020-09-24  5:48 UTC (permalink / raw)
  To: dts

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

Tested-by: Zhang, XiX <xix.zhang@intel.com>

Regards,
Zhang, Xi

> -----Original Message-----
> From: Zhang, XiX
> Sent: Thursday, September 24, 2020 1:48 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update
> scapy_modules path


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

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

* Re: [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path
  2020-09-24  5:48 [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path xizhan4x
  2020-09-24  5:48 ` Zhang, XiX
@ 2020-09-29  2:24 ` Ma, LihongX
  2020-10-12  8:19 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Ma, LihongX @ 2020-09-29  2:24 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX


> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of xizhan4x
> Sent: Thursday, September 24, 2020 1:48 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update
> scapy_modules path
> 
> update scapy_modules path
> 
> diff --git a/framework/settings.py b/framework/settings.py index
> 850fa89..9654f70 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -43,6 +43,7 @@ FOLDERS = {
>      'Depends': 'dep',
>      'Output': 'output',
>      'NicDriver': 'nics',
> +    'scapy_modules': 'scapy_modules'
>  }


It does not need to add the setting of the scapy_modules, we will use the default scapy pkg instead of local pkg afterwards.

Regards,
Ma,lihong

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

* Re: [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path
  2020-09-24  5:48 [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path xizhan4x
  2020-09-24  5:48 ` Zhang, XiX
  2020-09-29  2:24 ` Ma, LihongX
@ 2020-10-12  8:19 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-10-12  8:19 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX

> update scapy_modules path
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>

Applied

^ 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 --
2020-09-24  5:48 [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path xizhan4x
2020-09-24  5:48 ` Zhang, XiX
2020-09-29  2:24 ` Ma, LihongX
2020-10-12  8:19 ` 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