# FIXME: This test is running mmdebstrap, so in theory it should be using
# exactly the package selection that the autopkgtest environment is by running
# mmdebstrap with
# --hook-dir=/usr/share/mmdebstrap/hooks/copy-host-apt-sources-and-preferences
# --hook-dir=/usr/share/mmdebstrap/hooks/file-mirror-automount
# See autopkgtests of dash or sbuild for an example.
# Since this test is skipped if it runs inside LXC because podman errors out
# when run under LXC, this test will never be used for migration checks, so
# we do not need to be rigorous here.
Test-Command: env --chdir=./debian/tests ./test_with_chroot.sh installed scripted
Depends:
 mmdebstrap,
 mount,
 podman,
 python3-numpy,
 python3-pil,
 slirp4netns,
 uidmap,
 x11proto-dev,
Restrictions: allow-stderr, needs-root, skippable

Tests: test_without_chroot
Depends:
 dbus-daemon,
 gir1.2-gdkpixbuf-2.0,
 gnome-settings-daemon,
 grim,
 gsettings-desktop-schemas,
 libgdk-pixbuf2.0-bin,
 libglib2.0-bin,
 libopengl0,
 librsvg2-common,
 python3,
 python3-gi,
 python3-numpy,
 python3-pil,
 reform-setup-wizard,
 socat,
 sway,
 wayvnc,
 x11proto-dev,
Restrictions: allow-stderr, needs-root, breaks-testbed
