diff options
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-04-30 21:22:28 +0000 |
---|---|---|
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2010-04-30 21:22:28 +0000 |
commit | e3ca11705cd727ed0d7ffe383473a0da350c6ef6 (patch) | |
tree | 3cd47780628c1fb85a96bd412dcd2903bfd17230 /tko | |
parent | d875c2bcb889d993c4b19ebb56bcb60b95eda6e2 (diff) |
Fix the parser to report a "RUNNING" status for CLIENT_JOB.* entries
in TKO, analogous to the same entry for SERVER_JOB.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@4454 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rw-r--r-- | tko/parsers/version_1.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tko/parsers/version_1.py b/tko/parsers/version_1.py index 77a2acb7..2a238003 100644 --- a/tko/parsers/version_1.py +++ b/tko/parsers/version_1.py @@ -255,6 +255,16 @@ class parser(base.parser): and not running_test): # we just started a client, all tests are relative to here min_stack_size = stack.size() + # start a "RUNNING" CLIENT_JOB entry + job_name = "CLIENT_JOB.%d" % job_count + running_job = test.parse_partial_test(self.job, None, + job_name, + "", current_kernel, + started_time) + msg = "RUNNING: %s\n%s\n" + msg %= (running_job.status, running_job.testname) + tko_utils.dprint(msg) + new_tests.append(running_job) elif stack.size() == min_stack_size + 1 and not running_test: # we just started a new test, insert a running record running_reasons = set() |