mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: warn about xpass/xfail marked tests
With the two recent unix socket test patches to mark dgram tests as failing but expected to pass, I realized that there's no indication in the output that there are current expected failures (except for the single corefile test expected failure)[0]. This patch attempts to remedy that by emitting the x-type plus the test description for each test that is marked as such. I've set it to always emit these results. [0] The test infrastructure does give an alert if there is a test that has been marked xpass or xfail but has started behaving correctly. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
parent
5fee046bfe
commit
29f1b9ec7f
1 changed files with 4 additions and 1 deletions
|
@ -250,7 +250,10 @@ checktestfg()
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$VERBOSE" ]; then
|
||||
# warn about expected failures
|
||||
if [ -n "${_known}" ] ; then
|
||||
echo "x${_pfmode}: ${_testdesc}"
|
||||
elif [ -n "$VERBOSE" ]; then
|
||||
echo "ok: ${_testdesc}"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue