mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
test: collect coverage in a couple more codepaths
Otherwise we'd miss coverage from TEST-{02,24,61}, since they don't go
through the "standard" `check_result_common` hook.
Follow-up to 7bf20e48bd
.
This commit is contained in:
parent
21f2b19cc2
commit
0b5fe54ff5
@ -28,6 +28,7 @@ check_result_qemu() {
|
||||
echo "${JOURNAL_LIST:-No journals were saved}"
|
||||
|
||||
test -s "$TESTDIR/failed" && ret=1
|
||||
check_coverage_reports "${initdir:?}" || ret=5
|
||||
return $ret
|
||||
}
|
||||
|
||||
|
@ -1458,6 +1458,7 @@ check_result_nspawn_unittests() {
|
||||
fi
|
||||
|
||||
get_bool "${TIMED_OUT:=}" && ret=1
|
||||
check_coverage_reports "$workspace" || ret=5
|
||||
|
||||
save_journal "$workspace/var/log/journal" $ret
|
||||
|
||||
@ -1490,6 +1491,7 @@ check_result_qemu_unittests() {
|
||||
fi
|
||||
|
||||
get_bool "${TIMED_OUT:=}" && ret=1
|
||||
check_coverage_reports "$initdir" || ret=5
|
||||
|
||||
save_journal "$initdir/var/log/journal" $ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user