From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Subject: [OSSTEST PATCH 2/4] ts-repeat-test: Honour repeat_mult
Date: Thu, 14 May 2020 15:19:49 +0100 [thread overview]
Message-ID: <20200514141951.29371-3-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <20200514141951.29371-1-ian.jackson@eu.citrix.com>
Nothing automatic uses repeat_mult but this script should definitely
honour it.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
ts-repeat-test | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ts-repeat-test b/ts-repeat-test
index 4625add8..e6b52465 100755
--- a/ts-repeat-test
+++ b/ts-repeat-test
@@ -51,6 +51,10 @@ my $dumper = new Data::Dumper [\@cmdis], [qw(*cmdis)];
$dumper->Indent(0);
print $dumper->Dump,"\n";
+my $times = $r{repeat_mult} || 1;
+my $orgreps = $reps;
+$reps *= $times;
+
foreach my $rep (1..$reps) {
logm("========== rep $rep ==========");
foreach my $cmdi (@cmdis) {
--
2.20.1
next prev parent reply other threads:[~2020-05-14 14:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 14:19 [OSSTEST PATCH 0/4] Four misc small fixes Ian Jackson
2020-05-14 14:19 ` [OSSTEST PATCH 1/4] Executive: Do not print "shared ... marked ready" when not shared Ian Jackson
2020-05-14 14:19 ` Ian Jackson [this message]
2020-05-14 14:19 ` [OSSTEST PATCH 3/4] ts-repeat-test: Show total planned repeat count info Ian Jackson
2020-05-14 14:19 ` [OSSTEST PATCH 4/4] TestSupport: honour OSSTEST_PDU_MANUAL override env var Ian Jackson
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=20200514141951.29371-3-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.