Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor test-suite tweaks/fixes, volume VI #2703

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

dmnks
Copy link
Contributor

@dmnks dmnks commented Oct 5, 2023

Minute cosmetic changes, just something that I stumbled across while working on #2691. Some of this preparatory work for #2691 though.

Don't stop if there's a base tree already, this way we'll install any
newly added packages while still letting DNF skip over those already
installed.

The original intent of this short-circuit conditional was to avoid the
output noise but then, it's not really that bad and we'll avoid
unnecessary rebuilds in the next commit anyway.
Turn the tree (mktree.output) into a proper build artifact and let cmake
do its job in determining when to remake it, instead of doing that
always.

Keep the "tree" target though, it's still useful when you want to build
the tree manually.
We want these to always be 0 so that cmake doesn't print an "error" when
leaving the shell (if the last command happened to fail).

However, since it's a cmake thing, handle that in cmake instead of
mktree backends.

No functional change, just cosmetic.
@dmnks dmnks force-pushed the test-tweaks-vol-6 branch 12 times, most recently from ce648c8 to 79fbd5a Compare October 5, 2023 23:21
@pmatilai pmatilai merged commit dd66984 into rpm-software-management:master Oct 6, 2023
2 checks passed
@pmatilai
Copy link
Member

pmatilai commented Oct 6, 2023

force-pushed the test-tweaks-vol-6 branch 12 times

That may well be a some kind of a record 😄 Better merge before you change your mind again...

@dmnks
Copy link
Contributor Author

dmnks commented Oct 6, 2023

Yeah 😆 I realized some of the commits weren't quite right and also not strictly necessary either so I pulled them back. And then my traditional "crap, this commit message is confusing, reword it" kind of struggle 😄

@dmnks dmnks added the test Testsuite-related label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testsuite-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants