test/py: correctly log xfail/xpass tests

Tests can complete in passed, skipped, xpass, xfailed, or failed, states.
Currently the U-Boot log generation code doesn't handle the xfailed or
xpass states since they aren't used. Add support for the remaining states.
Without this, tests that xfail end up being reported as skipped.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Stephen Warren
2016-01-27 23:57:51 -07:00
committed by Simon Glass
parent 9129d9f5fd
commit 78b39cc3e1
3 changed files with 73 additions and 23 deletions

View File

@@ -83,6 +83,14 @@ pre {
color: #ffff00
}
.status-xfail {
color: #ff7f00
}
.status-xpass {
color: #ff7f00
}
.status-fail {
color: #ff0000
}