public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: "Jiří Župka" <jzupka@redhat.com>
Cc: autotest@test.kernel.org, kvm@vger.kernel.org, kvm-autotest@redhat.com
Subject: Re: [AUTOTEST][PATCH 1/2] Subtest return test result.
Date: Mon, 13 Jun 2011 21:31:51 -0300	[thread overview]
Message-ID: <1308011516.4391.2.camel@justice> (raw)
In-Reply-To: <1307982378-27250-1-git-send-email-jzupka@redhat.com>

On Mon, 2011-06-13 at 18:26 +0200, Jiří Župka wrote:
> If subtest is successful runsubtest returns True otherwise False.

Applied, thanks!

http://autotest.kernel.org/changeset/5421

> Signed-off-by: Jiří Župka <jzupka@redhat.com>
> ---
>  client/common_lib/test.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/client/common_lib/test.py b/client/common_lib/test.py
> index d5564c3..5b2e12c 100644
> --- a/client/common_lib/test.py
> +++ b/client/common_lib/test.py
> @@ -479,8 +479,8 @@ class base_test(object):
>          """
>          dargs["profile_only"] = dargs.get("profile_only", False)
>          test_basepath = self.outputdir[len(self.job.resultdir + "/"):]
> -        self.job.run_test(url, master_testpath=test_basepath,
> -                          *args, **dargs)
> +        return self.job.run_test(url, master_testpath=test_basepath,
> +                                 *args, **dargs)
>  
> 
>  def _get_nonstar_args(func):


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

      parent reply	other threads:[~2011-06-14  0:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 16:26 [AUTOTEST][PATCH 1/2] Subtest return test result Jiří Župka
2011-06-13 16:26 ` [AUTOTEST][PATCH 2/2] Extend base_job_unittest for support subtest change Jiří Župka
2011-06-14  0:32   ` Lucas Meneghel Rodrigues
2011-06-14  0:31 ` Lucas Meneghel Rodrigues [this message]

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=1308011516.4391.2.camel@justice \
    --to=lmr@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=jzupka@redhat.com \
    --cc=kvm-autotest@redhat.com \
    --cc=kvm@vger.kernel.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