From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH V3 4/4] set re run failed case time
Date: Fri, 7 Jul 2017 13:21:18 +0800 [thread overview]
Message-ID: <1499404878-34065-4-git-send-email-huilongx.xu@intel.com> (raw)
In-Reply-To: <1499404878-34065-1-git-send-email-huilongx.xu@intel.com>
---
framework/tester.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/framework/tester.py b/framework/tester.py
index 8f927ea..5e1afeb 100644
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -69,6 +69,7 @@ class Tester(Crb):
self.scapyCmds = []
self.bgCmds = []
self.bgItf = ''
+ self.re_run_time = 0
def init_ext_gen(self):
"""
@@ -78,6 +79,12 @@ class Tester(Crb):
self.ixia_packet_gen = IxiaPacketGenerator(self)
self.packet_gen = SoftwarePacketGenerator(self)
+ def set_re_run(self, re_run_time):
+ """
+ set failed case re-run time
+ """
+ self.re_run_time = int(re_run_time)
+
def get_ip_address(self):
"""
Get ip address of tester CRB.
--
1.9.3
next prev parent reply other threads:[~2017-07-07 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 5:21 [dts] [PATCH V3 1/4] add re_run parameter xu,huilong
2017-07-07 5:21 ` [dts] [PATCH V3 2/4] update exec case function xu,huilong
2017-07-07 5:21 ` [dts] [PATCH V3 3/4] update case result write function xu,huilong
2017-07-07 5:21 ` xu,huilong [this message]
2017-07-14 11:46 ` [dts] [PATCH V3 1/4] add re_run parameter Liu, Yong
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=1499404878-34065-4-git-send-email-huilongx.xu@intel.com \
--to=huilongx.xu@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).