Fix up the parser to interpret reasons in a more logical and
consistent manner. Currently we generate reasons for RUNNING
test entries by looking at the reasons from any "bad" status
messages, but this still doesn't affect the final status message.
So a test that ended up with WARN status because of a warning would
still just see a "completed successfully" reason, which is less than
helpful. This changes the behaviour to allow the bad RUNNING reason
to override the final reason if it's worse.
Risk: Low
Visibility: Changes the final reason field parsed to be more in line
with the RUNNING field.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3020 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed