-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
PLEASE_BENCH is broken #22291
Comments
Can confirm. Saw this a week or so ago but assumed my local install was busted. |
I've used it successfully with |
EDIT: I was wrong, |
Oh wait, I was getting this failure while using |
I had a closer look at this issue. I have updated the makefile to only add the |
…excrichton This is a patch for rust-lang#22291. PLEASE_BENCH=1 adds --bench to the arguments passed to the executable to be tested. At the moment, compiletest does not accept a --bench argument, because it is not needed for any test in src/test/, even the tests in src/test/bench do not use #[bench]. I have updated the makefile to only add the --bench flag for crate tests. I do not think that changing compiletest add --bench to the run arguments of all compile tests makes sense, because it would mess up tests which check command line arguments. Also the bench option can be added as comment in a compile test as well.
The text was updated successfully, but these errors were encountered: