LGTM

On Fri, Apr 30, 2010 at 7:48 AM, John Admanski <[email protected]> wrote:
> 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 <[email protected]>
>
> --- autotest/tko/parsers/version_1.py   2010-04-30 07:32:25.000000000 -0700
> +++ autotest/tko/parsers/version_1.py   2010-04-30 07:32:25.000000000 -0700
> @@ -255,6 +255,16 @@
>                     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()
> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to