Message ID | 1307982378-27250-1-git-send-email-jzupka@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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): -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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):
If subtest is successful runsubtest returns True otherwise False. Signed-off-by: Ji?í Župka <jzupka@redhat.com> --- client/common_lib/test.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)