Skip to content

Cargo test -- --logfile argument does not honor --format flag #11465

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

Closed
voidbar opened this issue Dec 7, 2022 · 1 comment
Closed

Cargo test -- --logfile argument does not honor --format flag #11465

voidbar opened this issue Dec 7, 2022 · 1 comment
Labels
C-bug Category: bug

Comments

@voidbar
Copy link

voidbar commented Dec 7, 2022

Problem

Running cargo test -- -Z unstable-options --format junit --logfile out.xml does not output the juint xml to out.xml as specified by --format, but rather the default output of cargo test.
Is this the intended behavior?

Steps

cargo test -- -Z unstable-options --format junit --logfile out.xml
cat out.xml
ok some_test_name <2.280s>

Possible Solution(s)

No response

Notes

No response

Version

cargo 1.65.0 (4bc8f24d3 2022-10-20)
@voidbar voidbar added the C-bug Category: bug label Dec 7, 2022
@ehuss
Copy link
Contributor

ehuss commented Dec 7, 2022

Thanks for the report! Closing as a duplicate of rust-lang/rust#57147.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants