-
Notifications
You must be signed in to change notification settings - Fork 341
Add more tests #1293
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
base: main
Are you sure you want to change the base?
Add more tests #1293
Conversation
rgetz
left a comment
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.
There isn't any doc in here on how to use the tests? or what to expect? or what hardware is needed?
CMakeLists.txt
Outdated
| enable_testing() | ||
| add_subdirectory(tests) | ||
| if(TESTS_COVERAGE) | ||
| if(NOT WITH_GCOV) |
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.
why not just use if (NOT WITH_GCOV) and not include another flag? (TESTS_COVERAGE)?
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.
This is why we need to minimize the configure options :)
./CMakeLists.txt defines "TESTS" as option, but it is missing toggle_iio_feature
./CMakeLists.txt defines "TESTS_COVERAGE" as option, but it is missing toggle_iio_feature
./CMakeLists.txt defines "TESTS_DEBUG" as option, but it is missing toggle_iio_feature
:)
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.
Fixed. TESTS_COVERAGE no longer exists as it has been replaced with WITH_GCOV.
Signed-off-by: Travis F. Collins <[email protected]>
Signed-off-by: Travis F. Collins <[email protected]>
Signed-off-by: Travis F. Collins <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
Signed-off-by: Dan Nechita <[email protected]>
fe0533a to
0de7516
Compare
PR Description
This PR is based on @tfcollins work that added the test infrastructure and a test for AD9361 buffers.
Additionally, this PR adds tests that cover the following parts of the API:
PR Type
PR Checklist