Skip to content

Copy python tests for Modulemd.ModuleStream into C #199

Description

@sgallagher

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 into modulemd/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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasy tickets suitable for a new contributor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions