Re: [AUTOTEST][PATCH 1/2] Subtest return test result.

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

 



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@xxxxxxxxxx>
> ---
>  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):


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux