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 googletest based tests #767

Merged
merged 6 commits into from
Oct 28, 2024
Merged

Add googletest based tests #767

merged 6 commits into from
Oct 28, 2024

Conversation

jdemel
Copy link
Contributor

@jdemel jdemel commented Aug 19, 2024

This PR adds googletest as a dependency and starts to implement new tests. This should offer more flexibility and thus, better support for more complex kernels and better coverage of corner cases. Finally, different vector sizes should be easily supported.

For now, this is a second set of tests that still needs to evolve but the foundation is in place.

Finally, the CI system receives an update with newer compiler versions and older versions being removed. Here, the target is to test on Ubuntu versions that still receive general support. At the moment the oldest distro would be Ubuntu 20.04.

jdemel and others added 4 commits August 19, 2024 21:39
Use GTest to run tests. This should help us in quite a few places.

Signed-off-by: Johannes Demel <[email protected]>
This is an ongoing effort to introduce some more sophisticated QA tests.
We use googletest and write custom test suits.

This approach requires more manual work but yields a more accurate
result as well.

Signed-off-by: Johannes Demel <[email protected]>
Potentially, we want to be more verbose. This is a first effort to
improve in this area.

Signed-off-by: Johannes Demel <[email protected]>
It's probably a good thing to have googletest as an install dependency.

Signed-off-by: Johannes Demel <[email protected]>
We want to gradually migrate to a more stable test framework. This
requires that our CI runs the new framework. Here we go!

Signed-off-by: Johannes Demel <[email protected]>
We can run an individual test for each implementation now. Further, the
test names are easier to recognize.

Signed-off-by: Johannes Demel <[email protected]>
@jdemel
Copy link
Contributor Author

jdemel commented Oct 28, 2024

This PR was sitting here for long enough. Merging it. At this point, some changes are kinda urgent to fix the failing flyci test.

@jdemel jdemel merged commit 8a0322d into gnuradio:main Oct 28, 2024
37 checks passed
@jdemel jdemel deleted the newtest branch October 28, 2024 20:57
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.

Move to better test infrastructure Test with short, medium and large vectors
1 participant