Skip to content

Commit

Permalink
Copy .fixed files when testing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jun 4, 2022
1 parent 3b59f0f commit b7fe1d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/testing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ fn run_example_test<'test>(
to.to_string_lossy()
)
})?;
copy_with_extension(&target.src_path, &to, "stderr").unwrap_or_default();
copy_with_extension(&target.src_path, &to, "stdout").unwrap_or_default();
["fixed", "stderr", "stdout"]
.map(|extension| copy_with_extension(&target.src_path, &to, extension).unwrap_or_default());

run_tests(driver, src_base, rustc_flags.chain(linking_flags.iter()));

Expand Down

0 comments on commit b7fe1d5

Please sign in to comment.