mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
tests: don't fail if QEMU is not available
Fix TEST-{08,09,10,11} to properly skip the test if QEMU is not available instead of failing, like in the other tests.
This commit is contained in:
parent
a415d43655
commit
eaa03c05f7
@ -23,8 +23,11 @@ check_result_qemu() {
|
||||
}
|
||||
|
||||
test_run() {
|
||||
run_qemu || return 1
|
||||
check_result_qemu || return 1
|
||||
if run_qemu; then
|
||||
check_result_qemu || return 1
|
||||
else
|
||||
dwarn "can't run QEMU, skipping"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,11 @@ check_result_qemu() {
|
||||
}
|
||||
|
||||
test_run() {
|
||||
run_qemu || return 1
|
||||
check_result_qemu || return 1
|
||||
if run_qemu; then
|
||||
check_result_qemu || return 1
|
||||
else
|
||||
dwarn "can't run QEMU, skipping"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,11 @@ check_result_qemu() {
|
||||
}
|
||||
|
||||
test_run() {
|
||||
run_qemu || return 1
|
||||
check_result_qemu || return 1
|
||||
if run_qemu; then
|
||||
check_result_qemu || return 1
|
||||
else
|
||||
dwarn "can't run QEMU, skipping"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,11 @@ check_result_qemu() {
|
||||
}
|
||||
|
||||
test_run() {
|
||||
run_qemu || return 1
|
||||
check_result_qemu || return 1
|
||||
if run_qemu; then
|
||||
check_result_qemu || return 1
|
||||
else
|
||||
dwarn "can't run QEMU, skipping"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user