From 50f345288e4309d073fecdb0b44ff6c432645c82 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 3 Dec 2023 08:44:53 +0200 Subject: tests: allow tests to run in offline mode Signed-off-by: Lars Wirzenius Sponsored-by: author --- debian/rules | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index ceff6bc..8f54ee9 100755 --- a/debian/rules +++ b/debian/rules @@ -7,9 +7,8 @@ override_dh_auto_build: true override_dh_auto_install: - cargo install --path=. --root=debian/summain - rm -f debian/summain/.crates.toml - rm -f debian/summain/.crates2.json + cargo install --offline --path=. --root=debian/summain + rm -f debian/*/.crates* override_dh_auto_test: - ./check + ./check --offline -- cgit v1.2.1