diff --git a/smoketest/scenarios/30-upgrade-from-baseline.sh b/smoketest/scenarios/30-upgrade-from-baseline.sh index e118026..c170eb9 100644 --- a/smoketest/scenarios/30-upgrade-from-baseline.sh +++ b/smoketest/scenarios/30-upgrade-from-baseline.sh @@ -42,6 +42,13 @@ scenario() { assert_status 0 cd_install + # voxtype's build from source fails now and then (Vulkan shaders missing at + # link time), and the baseline isn't what's under test: try once more, as + # someone would. The installer skips what it already installed + if [ "$STATUS" -ne 0 ]; then + echo "The baseline's install failed; running it once more" + cd_install + fi assert_status 0 run_in_vm reset "sudo rm /etc/polkit-1/rules.d/00-smoketest-flatpak.rules git -C ~/.local/share/coredesktop reset -q --hard $(q "$sha")"