Add a smoketest, run on CoreDesktop's with coredesktop-dev
`coredesktop-dev smoketest run --with HamPack` installs HamPack on a VM with CoreDesktop and checks a fresh install, an update with nothing to do, a one-app rebuild, a failing build and hampackremove, with smoketest/health checking every package, Flatpak and app is in place. HAMPACK_SKIP_WINDOWS_APPS skips the Windows installers, which the test VMs' desktop would start with no one to click through them; smoketest/setup sets it in each VM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bc536407c4
commit
e8fbe256df
@@ -81,6 +81,14 @@ install_all_windows_apps() {
|
||||
! grep -q '^curl ' "$STUB_LOG"
|
||||
}
|
||||
|
||||
@test "windows apps: HAMPACK_SKIP_WINDOWS_APPS skips them, even at the desktop" {
|
||||
export DISPLAY=:0 HAMPACK_SKIP_WINDOWS_APPS=1
|
||||
run bash "$REPO/install-windows-apps.sh"
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" == *"HAMPACK_SKIP_WINDOWS_APPS is set"* ]]
|
||||
! grep -qE '^(curl|winetricks|wine) ' "$STUB_LOG"
|
||||
}
|
||||
|
||||
@test "windows apps: winetricks runs only once" {
|
||||
export DISPLAY=:0
|
||||
mkdir -p "$HOME/.wine"
|
||||
|
||||
Reference in New Issue
Block a user