public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [AUTOTEST][PATCH 1/2] Subtest return test result.
@ 2011-06-13 16:26 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:31 ` [AUTOTEST][PATCH 1/2] Subtest return test result Lucas Meneghel Rodrigues
  0 siblings, 2 replies; 4+ messages in thread
From: Jiří Župka @ 2011-06-13 16:26 UTC (permalink / raw)
  To: kvm-autotest, kvm, autotest, lmr, ldoktor, akong; +Cc: jzupka

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(-)

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):
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-14  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [AUTOTEST][PATCH 1/2] Subtest return test result Lucas Meneghel Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox