<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/integration/run-tests, branch main</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=main</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-10-26T07:28:35Z</updated>
<entry>
<title>test: Correctly skip tests when not using -j</title>
<updated>2025-10-26T07:28:35Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-10-26T06:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=487ce0983c2008991566b4cfb269fd7d29a08e98'/>
<id>urn:sha1:487ce0983c2008991566b4cfb269fd7d29a08e98</id>
<content type='text'>
We never implemented comment support in the skip test file for
-j as we only run with -j, but the debian/tests/run-tests runs
without parallelism.
</content>
</entry>
<entry>
<title>tests: Do not skip tests for --solver internal</title>
<updated>2025-10-26T07:28:35Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-10-26T06:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=78da58ec0c1cdbda6cdd22c63f85ddac703bb0d6'/>
<id>urn:sha1:78da58ec0c1cdbda6cdd22c63f85ddac703bb0d6</id>
<content type='text'>
Remove the exports for the default as we don't want those
inherited, they can just be reset. Set the skip file to
/dev/null when a solver is selected, to make sure that
tests don't fall back to the default skip file.
</content>
</entry>
<entry>
<title>Enable the new solver by default in 0.31, 1.21, 2.11, 3.1</title>
<updated>2025-10-25T20:16:54Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-10-25T15:42:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c5c5d10d1b2ac0a589102315840c4f2a075b18c1'/>
<id>urn:sha1:c5c5d10d1b2ac0a589102315840c4f2a075b18c1</id>
<content type='text'>
Enable the new solver by default and remove the vendor-specific
configuration change in Ubuntu's drop-in.
</content>
</entry>
<entry>
<title>test: Support comments in --skip/--only files</title>
<updated>2025-02-14T18:08:45Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-11T15:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0c79613a5ef111ae09e1c94a2866f63fbf51c524'/>
<id>urn:sha1:0c79613a5ef111ae09e1c94a2866f63fbf51c524</id>
<content type='text'>
Strip everything after "#" and spaces before it.
</content>
</entry>
<entry>
<title>test: Fix skipping test cases</title>
<updated>2025-02-12T13:54:32Z</updated>
<author>
<name>Arnaud Rebillout</name>
<email>arnaudr@kali.org</email>
</author>
<published>2025-02-12T13:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f67e9858fd0f12c2b8aa6ca9450cde427513d883'/>
<id>urn:sha1:f67e9858fd0f12c2b8aa6ca9450cde427513d883</id>
<content type='text'>
The `--skip` option was introduced in commit
1fbdc04be7547b8c4bb84f400329415ea0bc60b5, and it was broken straight
from the start for the case where `TESTTORUN` is not set (see last hunk
in this commit, the mistake is obvious).

It went unnoticed as the GitLab CI runs tests with the `-j` option, so
`TESTTORUN` is set. While ci.debian.net runs without -j, but doesn't
skip any test, so it doesn't trigger the bug either.
</content>
</entry>
<entry>
<title>Use sq in the test suite, remove apt-key</title>
<updated>2024-12-19T22:41:01Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-19T21:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a00fbbdb28cc31e78882301c2efe7218583ab4cb'/>
<id>urn:sha1:a00fbbdb28cc31e78882301c2efe7218583ab4cb</id>
<content type='text'>
Remove the test case for MD5 and expired signatures, as we can't
create them (can't set signing digest, and can't set signature
expiry).

Tests for them have been added to test-method-gpgv instead.

We override sq in a function with cert-store and key-store
set to none.

This supports both sq 0.40 and sq 1.0.
</content>
</entry>
<entry>
<title>Make the failure mode for non-executable tests stronger</title>
<updated>2024-06-13T12:32:32Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-06-06T09:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=bfb9f2124b8f9da48b53d279278de3f8f0a00b82'/>
<id>urn:sha1:bfb9f2124b8f9da48b53d279278de3f8f0a00b82</id>
<content type='text'>
When a test-* file is created but not executable, we'd ignore
the argument and then our subprocess would run the entire
test suite itself, sequentially. Silly.

Let's just see if the file exists instead, then the test will
fail.
</content>
</entry>
<entry>
<title>test: Show statistics for parallel tests too</title>
<updated>2024-05-24T11:43:56Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-05-19T16:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=03f4568283205a26386584002b9ec740c55c9fb7'/>
<id>urn:sha1:03f4568283205a26386584002b9ec740c55c9fb7</id>
<content type='text'>
This makes things a bit nicer. We also include a list of passed
tests here, to use with --only to validate solver3 changes, as
well as the list of skipped tests.

But too lazy to implement these for the non-parallel case.
</content>
</entry>
<entry>
<title>test: Run working tests against the 3.0 solver</title>
<updated>2024-05-24T11:43:56Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-05-19T17:31:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1fbdc04be7547b8c4bb84f400329415ea0bc60b5'/>
<id>urn:sha1:1fbdc04be7547b8c4bb84f400329415ea0bc60b5</id>
<content type='text'>
Implement --solver, --only, -skip flags for the test suite, and
run the test suite with the broken tests skipped against solver3.
</content>
</entry>
<entry>
<title>Ignore stty failures in testcases</title>
<updated>2022-05-07T08:45:44Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2022-04-21T10:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e5aa5c04ecbd3cdab611794cebf9eb3aa8cbddd4'/>
<id>urn:sha1:e5aa5c04ecbd3cdab611794cebf9eb3aa8cbddd4</id>
<content type='text'>
We use 'stty sane' to combat against stepped output and co caused by
(especially) failed tests, but it does so many things that it
occasionally fails to reset some bits in the parallel interaction we
have with it which fails the tests without a real problem in apt…

Ideally we would be better at stitching the output together, but for the
time being lets ignore these failures instead to stabilize the tests.
</content>
</entry>
</feed>
