[Rpm-maint] [rpm-software-management/rpm] Eliminate the need for explicit RPMTEST_INIT (PR #3542)
Panu Matilainen
notifications at github.com
Tue Jan 28 10:36:38 UTC 2025
See commits for details, but the main deal here is to reduce the boilerplate needed for tests and nudge test-authors towards not using (expensive) mutable snapshots unnecessarily.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3542
-- Commit Summary --
* Add RPMTEST_SKIP_IF as a wrapper for AT_SKIP_IF and use it everywhere
* Refactor test snapshot mount and umount into separate macros
* Clean up irregularities in a couple of test-cases
* Only try to unmount test snapshot if previously mounted
* Eliminate the need for explicit RPMTEST_INIT
-- File Changes --
M tests/README.md (7)
M tests/local.at (35)
M tests/rpmbuild.at (365)
M tests/rpmbuildid.at (90)
M tests/rpmconfig.at (27)
M tests/rpmconfig2.at (21)
M tests/rpmconfig3.at (12)
M tests/rpmconflict.at (48)
M tests/rpmdb.at (63)
M tests/rpmdeps.at (81)
M tests/rpmdevel.at (3)
M tests/rpme.at (36)
M tests/rpmgeneral.at (9)
M tests/rpmi.at (188)
M tests/rpmio.at (4)
M tests/rpmmacro.at (21)
M tests/rpmorder.at (9)
M tests/rpmpgp.at (4)
M tests/rpmpkgfmt.at (7)
M tests/rpmpython.at (8)
M tests/rpmquery.at (62)
M tests/rpmreplace.at (48)
M tests/rpmscript.at (29)
M tests/rpmsigdig.at (172)
M tests/rpmspec.at (1)
M tests/rpmverify.at (61)
M tests/rpmvfylevel.at (15)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3542.patch
https://github.com/rpm-software-management/rpm/pull/3542.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3542
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3542 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250128/98193e28/attachment.htm>
More information about the Rpm-maint
mailing list