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
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Purpose : Run in each smoketest VM before HamPack is installed or tested.
|
||||
# The VMs have a desktop, but no one to click through the Windows
|
||||
# installers, which would wait for clicks until the run timed out.
|
||||
# Set for the GNOME session now and after reboots, so every
|
||||
# install, update and sibling add in the VM sees it.
|
||||
|
||||
set -e
|
||||
mkdir -p ~/.config/environment.d
|
||||
echo HAMPACK_SKIP_WINDOWS_APPS=1 > ~/.config/environment.d/90-hampack-smoketest.conf
|
||||
systemctl --user set-environment HAMPACK_SKIP_WINDOWS_APPS=1
|
||||
Reference in New Issue
Block a user