summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-03-09 13:55:23 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-03-09 13:55:23 +0100
commit6c112f9860c1730237029f4e23d40bf658d73704 (patch)
tree8f5f98fbe27ac7060b38e545eb43317215f1ae89 /test/integration/framework
parent935a9ab334e55a29363f45e7de6338c47337e806 (diff)
Print --solver 3.0 explanation if both internal and it failed
This can provide useful additional context. To avoid updating the whole test suite for it, introduce a new option `quiet::NoSolver3Explanation` and set it by default. All the other tests that assert output will already have matching tests for --solver 3.0 with the correct messages asserted, it makes no sense to duplicate them.
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index d2570b6b2..3f0290569 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -589,6 +589,8 @@ EOF
echo 'DPkg::Path "";' >> aptconfig.conf
echo 'Dir::Bin::ischroot "/bin/false";' >> aptconfig.conf
+ echo 'quiet::NoSolver3Explanation "true";' > rootdir/etc/apt/apt.conf.d/disable-solver3-context
+
# most tests just need one signed Release file, not both
export APT_DONT_SIGN='Release.gpg'