From f5583481bfadc96eb2a0326e00d315aa863f8aa5 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 16 Nov 2020 17:04:19 -0600 Subject: [PATCH] trivial: debian: disable downloading from LVFS in autopkgtest There are two ways to go: 1. Enable `needs-internet` in the test bed 2. Skip these tests Per https://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst the testing should avoid having to download from remote services to keep the testing more deterministic and reliable. --- contrib/debian/control.in | 1 - contrib/debian/tests/ci | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/debian/control.in b/contrib/debian/control.in index 37e115555..88351a1b1 100644 --- a/contrib/debian/control.in +++ b/contrib/debian/control.in @@ -80,7 +80,6 @@ Depends: ${misc:Depends}, ca-certificates, dbus-x11, fwupd, - git, gnome-desktop-testing, policykit-1, python3, diff --git a/contrib/debian/tests/ci b/contrib/debian/tests/ci index ac847e768..7f48ab58f 100644 --- a/contrib/debian/tests/ci +++ b/contrib/debian/tests/ci @@ -2,6 +2,4 @@ set -e sed "s,^DisabledPlugins=.*,DisabledPlugins=," -i /etc/fwupd/daemon.conf sed "s,^VerboseDomains=.*,VerboseDomains=*," -i /etc/fwupd/daemon.conf -git clone https://github.com/fwupd/fwupd-test-firmware -export G_TEST_SRCDIR=`pwd`/fwupd-test-firmware/installed-tests -CI_NETWORK=true gnome-desktop-testing-runner fwupd +gnome-desktop-testing-runner fwupd