Skip to content

Conversation

ckyrouac
Copy link
Collaborator

tmt: Add TMT_PLUGINS env to tmt run invocation

This is temporary while waiting for tmt to release the bootc provision
plugin.


tmt: Add TMT_VERBOSE env var

1 -> enabled. This adds -vvvvv to the tmt run invocation when using
make test-tmt to stream detailed test run output.

This is temporary while waiting for tmt to release the bootc provision
plugin.

Signed-off-by: Chris Kyrouac <ckyrouac@redhat.com>
1 -> enabled. This adds -vvvvv to the tmt run invocation when using
`make test-tmt` to stream detailed test run output.

Signed-off-by: Chris Kyrouac <ckyrouac@redhat.com>
This is required for the bootc install tests that use a custom image.
Otherwise, the cached image will be used instead of the image built from
the bootc provision plugin.

Signed-off-by: Chris Kyrouac <ckyrouac@redhat.com>
@ckyrouac
Copy link
Collaborator Author

added another commit to delete the cached testcloud image before each tmt run invocation.

Comment on lines +193 to +197
let verbose = if verbose_enabled == 1 {
Some("-vvvvv".to_string())
} else {
None
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

let verbose = (verbose_enabled == 1).then_some("-vvvvv"); is a bit shorter, also avoids the unnecessary to_string() allocation here.

@cgwalters cgwalters merged commit 3d36c9b into bootc-dev:main Sep 18, 2024
24 of 34 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