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
+1
-1
@@ -16,7 +16,7 @@ setup_fake_home() {
|
||||
# "dep" means it was installed as a dependency
|
||||
export FAKE_PACMAN_DB="$BATS_TEST_TMPDIR/pacman-db"
|
||||
export FAKE_FLATPAKS="$BATS_TEST_TMPDIR/flatpaks"
|
||||
unset DISPLAY WAYLAND_DISPLAY WINEPREFIX
|
||||
unset DISPLAY WAYLAND_DISPLAY WINEPREFIX HAMPACK_SKIP_WINDOWS_APPS
|
||||
mkdir -p "$HOME/.local/bin" "$TMPDIR" "$STUB_DIR" "$FAKE_PACMAN_DB" "$FAKE_FLATPAKS"
|
||||
: > "$STUB_LOG"
|
||||
PATH="$STUB_DIR:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user