diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-14 00:21:45 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-14 00:21:45 +0000 |
commit | a00c2d38b3e0efdc7f00f984bb627fe662cc1754 (patch) | |
tree | cce11824f374946b860d23908da25cd615d8b3a1 | |
parent | 859985bcf7e2376c7dbd846dfc6687b441f3583a (diff) |
client test: Make subtest return test result
If subtest is successful runsubtest returns True otherwise False.
Signed-off-by: Jiri Zupka <jzupka@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5421 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | 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 d5564c3f..5b2e12c3 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): |