-
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
Copy python tests for Modulemd.ModuleStream into C #199
Comments
hi ! I want to start contributing in this project. Please guide me how to approach. I am appliying for outreachy. Thanks in advance. |
The tests for depends_on_stream() and build_depends_on_stream() is modified to handle empty lists Replicates the existing python tests, and newly added tests for depends_on_stream to C. Fixes : fedora-modularity#192 related: fedora-modularity#199
hello!! my name is swagatika . I am facing trouble in how to find an issue in the project. could you please guide me how to find an issue.. |
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 : fedora-modularity#199
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 : fedora-modularity#199
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
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
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 : #199
Is @swagatikapanda123 working on this? |
Hi, |
yes !! |
@sgallagher Currently, these tests are left to copy: Since |
@OrionStar25 I'd prefer if they were, because it allows us to run memory checks and static analysis scans against those codepaths. Thank you (and your mentees) very much for your work on this! |
Currently, most of the tests for the ModuleStream objects are run under Python. The valgrind tests for identifying memory leaks and errors can only run against tests in the C code. We need to replicate the python tests as C tests.
This would be a good task for a newcomer to the project. Look at the tests being run in
modulemd/v2/tests/ModulemdTests/modulestream.py
and copy them intomodulemd/v2/tests/test-modulemd-modulestream.c
This will ensure that these code-paths are scanned with valgrind for leaks when
ninja test
is run (and when the CI test suite is executed).The text was updated successfully, but these errors were encountered: