Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/libtest-json/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#![allow(clippy::todo)]

pub mod event;

Expand Down
10 changes: 8 additions & 2 deletions crates/libtest2-harness/src/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,16 @@ fn run(
)?;

if opts.no_capture {
todo!("`--no-capture` is not yet supported");
return Err(std::io::Error::new(
std::io::ErrorKind::Unsupported,
"`--no-capture` is not supported at this time",
));
}
if opts.show_output {
todo!("`--show-output` is not yet supported");
return Err(std::io::Error::new(
std::io::ErrorKind::Unsupported,
"`--show-output` is not supported at this time",
));
}

let threads = opts.test_threads.map(|t| t.get()).unwrap_or(1);
Expand Down
1 change: 0 additions & 1 deletion crates/libtest2-harness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// #![warn(clippy::print_stderr)]
// #![warn(clippy::print_stdout)]
#![allow(clippy::todo)]

mod case;
mod context;
Expand Down
Loading