From 334bf5bbd80ca148145eb8276d1c1c4e352c1f01 Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 6 Nov 2026 17:33:46 -0700 Subject: [PATCH] smoketest: 30 runs a baseline's install once more if it fails voxtype's build from source fails now and then at link time, with Vulkan shaders missing: 0c0ddf5 built it in two runs and not the third, with the same packages. The baseline isn't what's under test, and the old installers skip what they already installed, so try once more. Co-Authored-By: Claude Opus 5.5 --- smoketest/scenarios/30-upgrade-from-baseline.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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")"