Skip to content

Commit

Permalink
Test test execution in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Aug 22, 2024
1 parent 3c9f7e6 commit c775b18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/tracel-xtask/src/commands/vulnerabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ mod tests {
fn test_is_target_supported(#[case] installed_targets: Vec<String>, #[case] expected: bool) {
let mock_retriever = MockTargetRetriever::new(installed_targets);
let sanitizer = Sanitizer::Memory;
// std::thread::sleep(std::time::Duration::from_secs(1));
assert_eq!(sanitizer.is_target_supported(&mock_retriever), expected);
}

Expand All @@ -350,6 +351,7 @@ mod tests {
Target::X8664UnknownFreebsd,
Target::X8664UnknownLinuxGnu,
];
// std::thread::sleep(std::time::Duration::from_secs(1));
for variant in variants {
let variant_str = format!("{}", variant);
let parsed_variant = Target::from_str(&variant_str);
Expand Down
1 change: 1 addition & 0 deletions crates/tracel-xtask/src/utils/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub fn run_process_for_workspace<'a>(
group_info!("Command line: cargo {}", args.join(" "));
let mut child = Command::new(name)
.args(&args)
.stdout(Stdio::inherit())
.stderr(Stdio::piped())
.spawn()
.map_err(|e| {
Expand Down

0 comments on commit c775b18

Please sign in to comment.