diff options
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-04-01 18:27:38 +0000 |
---|---|---|
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2009-04-01 18:27:38 +0000 |
commit | e8cd1c240ba62d1cbe1190618eb6515b3ed5d7b7 (patch) | |
tree | 9c3e51f7d2bfcb45003c08abe0d6257c84c180c7 /tko/parsers | |
parent | 3c70dd3d947626217c99c3351cb2932ea074729c (diff) |
The parser should update the RUNNING status and reason when the latest
message is at least as bad as the current status, not just when it's
worse.
Risk: Low
Visibility: Make the updatable RUNNING messages work in a usable way.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2955 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/parsers')
-rw-r--r-- | tko/parsers/version_1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tko/parsers/version_1.py b/tko/parsers/version_1.py index d3ef2471..ccb58bdd 100644 --- a/tko/parsers/version_1.py +++ b/tko/parsers/version_1.py @@ -286,8 +286,8 @@ class parser(base.parser): subdir_stack[-1] = line.subdir # update the status, start and finished times stack.update(line.status) - if status_lib.is_worse_than(stack.current_status(), - current_status): + if status_lib.is_worse_than_or_equal_to(stack.current_status(), + current_status): if line.reason: current_reason = line.reason # update the status of a currently running test |