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

add unit testing framework for darshan-util #644

Closed
carns opened this issue Feb 3, 2022 · 1 comment
Closed

add unit testing framework for darshan-util #644

carns opened this issue Feb 3, 2022 · 1 comment
Assignees

Comments

@carns
Copy link
Contributor

carns commented Feb 3, 2022

The darshan-util portion of the code base needs to adopt a unit testing framework to exercise the native library interface. This will be helpful in particular before embarking on changes like those described in #642 . Unlike the darshan-runtime component, the C utility libraries can be pretty easily tested on any local development environment.

We could embed munit to organize the tests as is currently done in some of the Mochi repositories (see https://github.com/mochi-hpc/mochi-margo/tree/main/tests/unit-tests for an example).

Small-scoped unit testing could begin by using log files present in the darshan-tests/examples/ subdirectory. More extensive tests could rely on more interesting log examples from the external darshan-logs repository.

@carns carns self-assigned this Feb 3, 2022
@shanedsnyder
Copy link
Contributor

munit was integrated for these purposes in #677 -- closing this.

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

No branches or pull requests

2 participants