]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Fix failure cause when multiple tests don't pass
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 24 Dec 2020 21:13:40 +0000 (21:13 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 24 Dec 2020 21:13:40 +0000 (21:13 +0000)
commitc1578cb9bf57b57e5fb94d69a2bb0c93bbee6f29
treeda4000ac47d814e880e75237f8a85299e87ffe51
parent28c41ab7d8be3c5bab55bdacedcba04dec1f8445
ftests: Fix failure cause when multiple tests don't pass

When multiple tests don't pass, the last failure_cause
recorded was the one being displayed.  Append the
failure_cause to the failed_tests[] and skipped_tests[]
arrays, so that each failure is properly saved and
reported.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/ftests.py