From: Daan De Meyer Date: Sun, 17 Mar 2024 14:58:34 +0000 (+0100) Subject: Hard code cache directory in test framework X-Git-Tag: v23~85^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f723d24a9bc4358cbe12bc35956656ddcc915c;p=thirdparty%2Fmkosi.git Hard code cache directory in test framework --- diff --git a/tests/__init__.py b/tests/__init__.py index 3b5b59cce..74e05694f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -81,6 +81,9 @@ class Image: *self.options, *options, "--output-dir", self.output_dir, + # Some tests ignore the default image config but we still want them to reuse the cache directory for the + # tools tree cache. + "--cache-dir", "mkosi.cache", *(f"--kernel-command-line={i}" for i in kcl), "--qemu-vsock=yes", verb,