-
Notifications
You must be signed in to change notification settings - Fork 316
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
WIP Add test infrastructure #1091
base: main
Are you sure you want to change the base?
Commits on Dec 14, 2023
-
utils/iio-common: Use CLOCK_MONOTONIC clock for timeouts
The CLOCK_REALTIME clock may jump in time, which can be a huge problem when computing timeouts. Use the CLOCK_MONOTONIC one instead, which does not have this problem. Signed-off-by: Paul Cercueil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3af7299 - Browse repository at this point
Copy the full SHA 3af7299View commit details -
iiod: Fix segmentation fault when buffer creation failed
When the buffer creation failed, entry->buf was left to whatever error pointer it had previously, instead of being reset to NULL; cleanup code would subsequently try to destroy the buffer once again with an invalid pointer. Signed-off-by: Paul Cercueil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2819ff3 - Browse repository at this point
Copy the full SHA 2819ff3View commit details -
Add "cyclic" parameter to .buffer_enable() backend callback
IIOD v0.x supports enqueueing cyclic blocks, but it needs to know about it when the iio_buffer is opened through the "OPEN" command. As iiod-client calls this command when the buffer is to be enabled, pass an extra "cyclic" parameter to .buffer_enable(), always set to "false" for now. Signed-off-by: Paul Cercueil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9466de6 - Browse repository at this point
Copy the full SHA 9466de6View commit details -
Rework cyclic block enqueue when talking to v0.x IIOD
Instead of continuously sending the same block again and again, set the "cyclic" parameter of the .enable_buffer() backend callback to the value of the "cyclic" parameter of the last call to iio_buffer_enqueue(). Signed-off-by: Paul Cercueil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8f3ea0 - Browse repository at this point
Copy the full SHA b8f3ea0View commit details -
Add initial testing with coverage
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9cd656 - Browse repository at this point
Copy the full SHA c9cd656View commit details -
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f105ee9 - Browse repository at this point
Copy the full SHA f105ee9View commit details -
Add TESTS flags to build readme
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37f6483 - Browse repository at this point
Copy the full SHA 37f6483View commit details -
Add system tests for python buffers
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1379a7 - Browse repository at this point
Copy the full SHA c1379a7View commit details -
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a2dd7e - Browse repository at this point
Copy the full SHA 7a2dd7eView commit details
Commits on Dec 15, 2023
-
Add C based hardware tests for AD9361 buffers
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9902e76 - Browse repository at this point
Copy the full SHA 9902e76View commit details -
Signed-off-by: Travis F. Collins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c55f0d6 - Browse repository at this point
Copy the full SHA c55f0d6View commit details