Skip to content

Commit

Permalink
Actually pass no-default-features to test command
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Dec 2, 2024
1 parent 825b69a commit 22dab2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crates/tracel-xtask/src/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ fn push_optional_args(cmd_args: &mut Vec<String>, args: &TestCmdArgs) {
cmd_args.extend(vec!["--features".to_string(), features.join(",")]);
}
}
if args.no_default_features {
cmd_args.push("--no-default-features".to_string());
}
// test harness options
cmd_args.extend(vec!["--".to_string(), "--color=always".to_string()]);
if let Some(threads) = &args.threads {
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/commands/extended_test_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn handle_command(args: ExtendedTestArgsCmdArgs) -> anyhow::Result<()> {
} else {
println!("debug disabled");
}
// We don't run the actual tests as it creates an infinite loop while executing the integraton tests.
// We don't run the actual tests as it creates an infinite loop while executing the integration tests.
// base_commands::test::handle_command(args.try_into().unwrap())
Ok(())
}

0 comments on commit 22dab2a

Please sign in to comment.