openrvdas icon indicating copy to clipboard operation
openrvdas copied to clipboard

test_serial_writer.py only works if socat is installed

Open davidpablocohn opened this issue 1 year ago • 2 comments

We don't actually need socat in theory, and it's not installed by default anymore, but test_serial_writer.py assumes it's there and relies on it.

The test is currently disabled so as to not cause integration errors.

davidpablocohn avatar Apr 18 '24 19:04 davidpablocohn

You can take a look at the data simulator I used when I was doing some work at home for Chris Linden.

Does serial test writes without socat using python pty's. Might not be for everyone, but it might inspire some ideas.

LMG-ET avatar May 22 '24 11:05 LMG-ET

Excellent - thanks! In the queue for when I come up for air...

On Wed, May 22, 2024 at 4:30 AM LMG-ET @.***> wrote:

You can take a look at the data simulator https://github.com/FrozenGeek/sqlite_gui/blob/master/utils/data_simulator.py I used when I was doing some work at home for Chris Linden.

Does serial test writes without socat using python pty's. Might not be for everyone, but it might inspire some ideas.

— Reply to this email directly, view it on GitHub https://github.com/OceanDataTools/openrvdas/issues/373#issuecomment-2124567013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFO7V3UBLM4QCG3ETLWTC3DZDR6W3AVCNFSM6AAAAABGN5H46GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRUGU3DOMBRGM . You are receiving this because you authored the thread.Message ID: @.***>

davidpablocohn avatar May 22 '24 13:05 davidpablocohn