You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The socat available via homebrew on the mac doesn't support setting the baudrate via the b115200 flag, which makes all tests fail with an error like this:
parseopts(): unknown option "b115200"
The work around is a s/b115200/ispeed=115200,ospeed=115200/ across the whole codebase (two locations). With that in place everything works nicely.
Probably the tests should test for the current platform and then use either b115200 (Linux) or ispeed=115200,ospeed=115200 (macOS).
The text was updated successfully, but these errors were encountered:
Nope, unfortunately it doesn't work.
While it passes the command line parser (just as ispeed=foo,ospeed=bar does!) the values are only really set properly without the b prefix.
(I confirmed with -d -d -d -d where it produces log messages indicating the actual values used. Only when I specify the args as plain numbers they actually get set.)
The
socat
available via homebrew on the mac doesn't support setting the baudrate via theb115200
flag, which makes all tests fail with an error like this:The work around is a
s/b115200/ispeed=115200,ospeed=115200/
across the whole codebase (two locations). With that in place everything works nicely.Probably the tests should test for the current platform and then use either
b115200
(Linux) orispeed=115200,ospeed=115200
(macOS).The text was updated successfully, but these errors were encountered: