Skip to content

Tests don't run on MacOS #47

@sirthias

Description

@sirthias

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions