[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: New test suite and various updates and fixes (#1195)

torsava notifications at github.com
Tue May 26 10:36:10 UTC 2020


> Being an autotools project has little to do with it. Rpm's test-suite looks like voodoo because of the fakechroot integration, but that aside the autotest cases are nothing but shell script snippets followed by expected stdin/stderr + return code. What you do in that shell script space is totally up to you, and you can add arbitrary helper/wrappers to suit purpose. Our test-suite actually has wrappers to allow eg native Python code directly in the tests, take a look at https://github.com/rpm-software-management/rpm/blob/master/tests/rpmpython.at and https://github.com/rpm-software-management/rpm/blob/master/tests/rpmvercmp.at sometime.

So if we integrated the pythondistdeps test suite into the RPM test suite, you would be ok with merging it as well? The test suite would need to remain written in pytest of course, but from what you say, I can figure out to how to integrate a bash snippet that runs it.

Because we (at least I) are not interested in creating a new upstream for pythondistdeps.py, so I would probably end up creating a repo only for the test suite, which is not great.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1195#issuecomment-633945967
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200526/991b3233/attachment.html>


More information about the Rpm-maint mailing list