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

recognize unittest calls #285

Merged
merged 1 commit into from
Sep 11, 2020
Merged

recognize unittest calls #285

merged 1 commit into from
Sep 11, 2020

Conversation

MeggyCal
Copy link
Contributor

@MeggyCal MeggyCal commented Sep 8, 2020

There are new macros %pyunittest and %pyunittest_arch in python-rpm-macros. Recognize the calls in *spec files.

It should break only few things, if any.

@scarabeusiv
Copy link
Contributor

Also please provide testcase with expected before and after lines.

@scarabeusiv
Copy link
Contributor

Hmm only question i now have is why it eats up that -v param that is no longer part of the pyunittest macro due to the issues it caused. Shouldn't it keep that?

@MeggyCal
Copy link
Contributor Author

MeggyCal commented Sep 9, 2020

you are right, maybe it should keep it to preserve the behaviour before/after. It also eats the 'discover' command, inwhich case it is unclear to me whether it should preserve it as well. Pro: even less possible changes in the behaviour Contra: weird looking (and longer) command in spec.

@MeggyCal
Copy link
Contributor Author

I got an information the discovery is already in the definition of the macro.

@scarabeusiv scarabeusiv merged commit 44053bc into rpm-software-management:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants