From: xizhan4x <xix.zhang@intel.com>
To: dts@dpdk.org
Cc: xizhan4x <xix.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_vxlan_gpe_support_in_i40e:update scapy_modules path
Date: Thu, 24 Sep 2020 13:48:00 +0800 [thread overview]
Message-ID: <1600926480-32551-1-git-send-email-xix.zhang@intel.com> (raw)
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
next reply other threads:[~2020-09-24 5:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 5:48 xizhan4x [this message]
2020-09-24 5:48 ` Zhang, XiX
2020-09-29 2:24 ` Ma, LihongX
2020-10-12 8:19 ` 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=1600926480-32551-1-git-send-email-xix.zhang@intel.com \
--to=xix.zhang@intel.com \
--cc=dts@dpdk.org \
/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).