[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 2/4] ts-repeat-test: Honour repeat_mult



Nothing automatic uses repeat_mult but this script should definitely
honour it.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.