Skip to content

Unit test send_recv fails #79

@BRM-Code

Description

@BRM-Code

Using Debian WSL.
To reproduce:

  1. Clone repo
  2. install libasound2-dev
  3. run cargo test -j1 -- --test-threads=1

Output:

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/test_serialstream.rs (target/debug/deps/test_serialstream-459d942c9283aa2b)

running 1 test
test send_recv ... FAILED

failures:

---- send_recv stdout ----
thread 'send_recv' panicked at tests/test_serialstream.rs:91:10:
unable to open serial port: Error { kind: Unknown, description: "Not a typewriter" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    send_recv

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.07s

error: test failed, to rerun pass `--test test_serialstream`

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