Skip to content

Conversation

@mtjhrc
Copy link
Collaborator

@mtjhrc mtjhrc commented Nov 27, 2025

This improves the CLI output of integration test, and generates a github formattted .md file with collapsable logs for each test.

new CLI output:

[configure-vm-1cpu-256MiB] ... OK
[configure-vm-2cpu-1GiB] ..... OK
[vsock-guest-connect] ........ OK
[tsi-tcp-guest-connect] ...... OK
[tsi-tcp-guest-listen] ....... OK
[multiport-console] .......... OK

OK (6/6 passed)
Screenshot From 2025-11-27 17-43-42 Screenshot From 2025-11-27 17-45-15

@mtjhrc mtjhrc force-pushed the pretty-tests branch 3 times, most recently from 0bcd6cd to 082e8e9 Compare November 28, 2025 13:35
This allows you to run only a specific test e.g.
`make test TEST=tsi-udp`
If TEST is not specified all test will be run.

Signed-off-by: Matej Hrica <[email protected]>
Instead of creating a tmp dir with random suffix for each test, create a tmp dir
with the suffix for the whole run of the test. This allows the user to more
easily view results of a run under a single directory.

This also adds a --base-dir flag for overriding the test directory, and
--keep-all which doesn't delete any of the files generated by the test.

Signed-off-by: Matej Hrica <[email protected]>
@mtjhrc mtjhrc marked this pull request as ready for review November 28, 2025 13:43
Since we don't spam the stderr/terminal anymore, let's run at maximum
verbosity by default.

Signed-off-by: Matej Hrica <[email protected]>
Copy link
Collaborator

@slp slp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better this way, thanks!

@slp slp merged commit 2b281e8 into containers:main Nov 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants