We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc tests worked in the past, but for a while they've been failing.
I've created a minimal example to investigate the issue:
In this example, it hangs in the running 1 test line, until a key is pressed, then it fails continues:
running 1 test
$ cargo test running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests issue-test running 1 test test src/lib.rs - (line 13) ... FAILED failures: ---- src/lib.rs - (line 13) stdout ---- Test executable failed (terminated by signal). failures: src/lib.rs - (line 10) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.71s error: test failed, to rerun pass '--doc'
Running it with strace (via cargo-with, installable by running cargo install cargo-with ) like this:
cargo-with
cargo install cargo-with
$ cargo with "strace -s1000" -- test
produces the following output strace.txt
The text was updated successfully, but these errors were encountered:
@dankamongmen do you have any idea of what may have changed in notcurses in the last weeks that may have affected this?
Sorry, something went wrong.
that strace output suggests everything passed...?
yes, with strace it passes, without strace it does not, and hangs :S
e3c3232
No branches or pull requests
doc tests worked in the past, but for a while they've been failing.
I've created a minimal example to investigate the issue:
In this example, it hangs in the
running 1 test
line, until a key is pressed, then it fails continues:$ cargo test running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests issue-test running 1 test test src/lib.rs - (line 13) ... FAILED failures: ---- src/lib.rs - (line 13) stdout ---- Test executable failed (terminated by signal). failures: src/lib.rs - (line 10) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.71s error: test failed, to rerun pass '--doc'
Running it with strace (via
cargo-with
, installable by runningcargo install cargo-with
) like this:produces the following output
strace.txt
The text was updated successfully, but these errors were encountered: