All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uri Lublin <uril@redhat.com>
To: kvm@vger.kernel.org, autotest@test.kernel.org
Cc: lmr@redhat.com, supriyak@in.ibm.com
Subject: [KVM-AUTOTEST][PATCH] Enable running test(s) multiple times (iterations)
Date: Thu, 11 Jun 2009 14:15:25 +0300	[thread overview]
Message-ID: <1244718925-24670-2-git-send-email-uril@redhat.com> (raw)
In-Reply-To: <1244718925-24670-1-git-send-email-uril@redhat.com>

From: Supriya Kannery <supriyak@in.ibm.com>

Default is to run each test once.

Just add iterations = N in kvm_tests.cfg to the test(s) you
want to run multiple times.

Signed-off-by: Supriya Kannery <supriyak@in.ibm.com>
Cc : Michael Goldish <mgoldish@redhat.com>
Signed-off-by: Uri Lublin <uril@redhat.com>
---
 client/tests/kvm/control |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/control b/client/tests/kvm/control
index b3543ee..c030a14 100644
--- a/client/tests/kvm/control
+++ b/client/tests/kvm/control
@@ -145,8 +145,10 @@ for dict in list:
                 dependencies_satisfied = False
                 break
     if dependencies_satisfied:
+        test_iterations=int(dict.get("iterations", 1))
         current_status = job.run_test("kvm", params=dict,
-                                      tag=dict.get("shortname"))
+                                      tag=dict.get("shortname"),
+                                      iterations=test_iterations)
     else:
         current_status = False
     status_dict[dict.get("name")] = current_status
-- 
1.6.2.2


  reply	other threads:[~2009-06-11 11:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 11:15 [KVM-AUTOTEST][PATCH] Enable running test(s) multiple times (iterations) Uri Lublin
2009-06-11 11:15 ` Uri Lublin [this message]
2009-06-12 19:43   ` Lucas Meneghel Rodrigues

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=1244718925-24670-2-git-send-email-uril@redhat.com \
    --to=uril@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    --cc=supriyak@in.ibm.com \
    /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.