-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consolidate some legacy test constructs #2773
Comments
Hmm, actually this is probably a good name after all 😄 It literally says "setup RPMTEST (directory)"... |
The problem with RPMTEST_SETUP name is that it seems to relate to AT_SETUP when it doesn't. Especially as we have RPMTEST_CLEANUP which relates to AT_CLEANUP, and one day there may be a reason to wrap AT_SETUP similarly. Maybe RPMTEST_INIT? |
Yup, good point. It could be made into an In any case, |
After it's renamed, it may not be a bad idea to actually add RPMTEST_SETUP that does, for now, nothing more than wrap AT_SETUP. Just to make the whole thing more consistent. |
OK, I've updated the description accordingly, thanks! |
Yay, we got to drop run() 😄 |
Seems this has turned into halfway rewrite by now 😂 but it'd seem strange not to include #3542 in this as well... |
I think we'll consider this step done now. There are other legacy constructs to deal with but those are better dealt with on in their own tickets. |
RPMDB_INIT
intoRPMTEST_SETUP
RPMTEST_SETUP
toRPMTEST_INIT
RPMTEST_SETUP
as a wrapper forAT_SETUP
(for consistency)run()
rpm
,rpmbuild
,rpmsign
, ...) which would be used instead ofrunroot*()
(optimization: don't run a Bubblewrap container if$RPMTEST
is/
)Thanks @pmatilai for the ideas! 😄
The text was updated successfully, but these errors were encountered: