tests: use 'FIXME' instead of 'fail' for expected failures

Seeing 'fail' in the test reports and the explanation that it means
"Test failed, but it was an expected failure" somewhat gives the
impression that these failures are ok. Actually these failures represent
known bugs/issues that we haven't yet fixed but we don't want them to
result in 'make check' ailing. To try and better reflect the severity of
these issues we now report them as 'FIXME'.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 7934bf3ee4356af160b63084c7192fd2965b5ddd)
This commit is contained in:
Robert Bragg 2013-09-02 14:26:03 +01:00
parent bdcd012f57
commit 176ac7e25b

View File

@ -31,7 +31,7 @@ echo "Key:"
echo "ok = Test passed"
echo "n/a = Driver is missing a feature required for the test"
echo "FAIL = Unexpected failure"
echo "fail = Test failed, but it was an expected failure"
echo "FIXME = Test failed, but it was an expected failure"
echo "PASS! = Unexpected pass"
echo ""
@ -42,7 +42,7 @@ get_status()
# but it was an expected failure so don't fail the
# overall test run as a result...
300)
echo -n "fail";;
echo -n "FIXME";;
# Special value we use to indicate that the test passed
# but we weren't expecting it to pass‽
400)