-
b61933d7
by Giovanni Mascellani at 2025-09-20T12:19:29+02:00
mmdevapi/tests: Replace a few tests with read_packets().
Which already does the same tests and many more.
-
3bf7d36b
by Giovanni Mascellani at 2025-09-20T12:19:29+02:00
mmdevapi/tests: Check discontinuities after having started capturing.
-
cdab2f49
by Giovanni Mascellani at 2025-09-20T12:19:29+02:00
mmdevapi/tests: Check that the capture buffer is empty after processing packets.
-
96ef3510
by Giovanni Mascellani at 2025-09-20T12:19:29+02:00
mmdevapi/tests: Sleep for 600 ms to guarantee a buffer overrun.
The buffer is around 500 ms, so 400 ms is not enough. It works now
because there is an earlier 350 ms sleep and only one packet is
read since then, but this will soon change.
-
6a8a3d2f
by Giovanni Mascellani at 2025-09-20T12:19:29+02:00
mmdevapi/tests: Remove a wrong test about packet sizes.
The packet size is usually the device period, but not necessarily.
I've often seen packets large two periods.