-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
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
exercise::test::test_exercise_with_output ... FAILED #542
Comments
When src/exercise.rs fn compile(&self) -> Result<CompiledExercise, ExerciseOutput> {} is called with Mode::Test from Command::new("rustc")
.args(&["--test", self.path.to_str().unwrap(), "-o", &temp_file()])
.args(RUSTC_COLOR_ARGS)
.output() is not outputting to &temp_file() When I run run rustc by hand |
Looks like this was copied from the previous test without renaming. This test is currently failing `cargo test` and ticket rust-lang#542 has been raised.
I have same error on windows rust nightly. Need to switch to master and check. |
The problem is that tests are run among different threads that all share the same PID 🤦 |
YJDoc2 reported: when running cargo test without any changes done to the repository gives this output :
This error is from exercise.rs, a file which I am not changing, but what is the reason for this?
Originally posted by @YJDoc2 in #375 (comment)
The text was updated successfully, but these errors were encountered: