Skip to content

Commit

Permalink
fix: shutdown the vm when tests fail. fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
popey committed May 19, 2024
1 parent b6fcd1d commit c1c1a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quicktest
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ function qt_test_fail() {
if $QT_OPEN_RESULTS ; then
open "$QT_RESULTS"
fi
qt_poweroff_vm
qt_write_summary_log "🚨 FAIL "
exit 99
}
Expand All @@ -710,7 +711,6 @@ function qt_test_pass() {
open "$QT_RESULTS"
fi
qt_write_summary_log "🎉 PASS "

}

# This is where we clean up after ourselves. We optionally make a timelapse video from the screenshots
Expand Down

0 comments on commit c1c1a77

Please sign in to comment.