From: Marvin Liu <yong.liu@intel.com>
To: dts@dpdk.org
Cc: Marvin Liu <yong.liu@intel.com>
Subject: [dts] [PATCH] framework debugger: fix rerun command initialize testcase failure
Date: Mon, 11 Jul 2016 11:29:25 +0800 [thread overview]
Message-ID: <1468207765-17446-1-git-send-email-yong.liu@intel.com> (raw)
test_case object parameter changed for multiple hosts, so debugger
should also changed as corresponding.
Signed-off-by: Marvin Liu <yong.liu@intel.com>
diff --git a/framework/debugger.py b/framework/debugger.py
index e877336..f776327 100644
--- a/framework/debugger.py
+++ b/framework/debugger.py
@@ -85,13 +85,13 @@ def rerun_command():
new_module = imp.reload(AliveModule)
# save arguments required to initialize suite
- dut = AliveSuite.__dict__['dut']
+ duts = AliveSuite.__dict__['duts']
tester = AliveSuite.__dict__['tester']
target = AliveSuite.__dict__['target']
suite = AliveSuite.__dict__['suite']
for test_classname, test_class in dts.get_subclasses(new_module, TestCase):
- suite_obj = test_class(dut, tester, target, suite)
+ suite_obj = test_class(duts, tester, target, suite)
# copy all element from previous suite to reloaded suite
dts.copy_instance_attr(AliveSuite, suite_obj)
--
1.9.3
reply other threads:[~2016-07-11 3:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1468207765-17446-1-git-send-email-yong.liu@intel.com \
--to=yong.liu@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).