-
Notifications
You must be signed in to change notification settings - Fork 52
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
Copies some python test of modulestream into C #211
Conversation
modulemd_module_stream_depends_on_stream (stream, "platform", "f30")); | ||
g_clear_object (&stream); | ||
|
||
stream = modulemd_module_stream_read_file ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to read the file again. You can perform this test with the same ModulemdModuleStream
object you used for line 523.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this for all of the tests below and in the v2 version. After that, this should be good to merge.
I have made the mentioned changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@athira-selvam Before submitting your code, please make sure to run ninja test
on it locally. Among other things, this will put it through the code formatter. The CI tests check to see if the code matches the format convention and throws an error.
Once you resubmit with the formatting fixed, I think this is ready to merge.
Most of the tests for ModuleStream objects are run under Python. The valgrind tests for identifying memory leaks and errors can only run against tests in the C. The tests for ModuleStream.depends_on_stream have been copied from Python to C. issue : fedora-modularity#199
I ran the ninja testa and have pushed the corrected code. |
Most of the tests for ModuleStream objects are run under Python.
The valgrind tests for identifying memory leaks and errors can only
run against tests in the C code.
The tests for ModuleStream.depends_on_stream have been copied from
Python to C.
issue : #199