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
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC2034
|
||||
DESCRIPTION="update with nothing new for HamPack builds and downloads nothing"
|
||||
IMAGE=installed
|
||||
TIER="pr"
|
||||
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/../lib.sh"
|
||||
|
||||
# smoketest_prepare has already updated the machine to the commit under test
|
||||
scenario() {
|
||||
local app
|
||||
cd_update
|
||||
assert_status 0
|
||||
while read -r app; do
|
||||
assert_output " $app $(compiled_version "$app") is up to date."
|
||||
done < <(compiled_apps)
|
||||
refute_output " Building "
|
||||
refute_output " Downloading "
|
||||
refute_output " Installing:"
|
||||
health
|
||||
}
|
||||
Reference in New Issue
Block a user