Whenever we bump the RPM version in cmake, certain tests also need updating, e.g. those that compare package digests or RPM sonames as those are subject to the version number.
Up until now, this had to be done manually by running the test-suite, looking at the failed tests' diffs and fixing up the expected outputs by hand. No more! Separate those tests and add the "make static" cmake target to update them automatically. This makes use of the new-ish atshell feature which runs a shell/command (*.sh scripts in tests/static/ in this case) in the standard test environment in order to get the new outputs. See the included README for more details. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2803 -- Commit Summary -- * Extract static tests for easier release bumps -- File Changes -- M tests/CMakeLists.txt (10) M tests/local.at (11) M tests/mktree.common (1) M tests/mktree.oci (2) M tests/rpmgeneral.at (12) M tests/rpmsigdig.at (34) A tests/static/README (18) A tests/static/rpmlibver.sh (2) A tests/static/rpmlibver.txt (4) A tests/static/rpmsigdig.sh (14) A tests/static/rpmsigdig.txt (11) A tests/static/update (10) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/2803.patch https://github.com/rpm-software-management/rpm/pull/2803.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2803 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint