Uh oh!
There was an error while loading. Please reload this page.
Move remaning compile-fail tests that are rejected by the parser to pars... - #22118
Conversation
rust-highfive
commented
Feb 9, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Feb 9, 2015
Hm I don't actually think we're running any parse-fail tests at all! Looking at the most recent output for a successful test run there are no mentions of any Can you update this PR as well to be sure to run all the just-moved |
Manishearth
commented
Feb 9, 2015
You might want to add Manishearth@19d8d3e to this PR too. |
fhahn
commented
Feb 9, 2015
@alexcrichton damn, sorry! Should I modify |
alexcrichton
commented
Feb 9, 2015
Whatever is easiest is fine by me, I'd probably go with multiple |
fhahn
commented
Feb 11, 2015
I've opted to add another However I am not sure which part of the Makefile is responsible for copying the test files to the test directory. Any idea what I could have missed or pointers where I could start looking? |
alexcrichton
commented
Feb 11, 2015
When you say copying test files, what are you referring to? I think your changes here should be sufficient for running the tests. |
6eedfbb to
3845c39Comparefhahn
commented
Feb 13, 2015
I got it wrong, I just had to create the ´test/parse-fail´ directory in the configure script. It should run the parse-fail tests now. But |
fhahn
commented
Feb 13, 2015
@Manishearth the test case you reference fails during macro expansion (or later, I am not sure), because the |
brson
commented
Feb 13, 2015
@fhahn I would prefer if you could add a ParseFail mode to compiletest if it's easy to do. |
3845c39 to
33656faComparefhahn
commented
Feb 13, 2015
@brson I've updated the code. |
alexcrichton
commented
Feb 16, 2015
Thanks @fhahn, looks good to me! Just a small typo and otherwise r=me. Also, just to confirm, but you see the output of the tests in |
fhahn
commented
Feb 16, 2015
@alexcrichton I have fixed the type and now parse-fail and compile-fail tests show up when running |
alexcrichton
commented
Feb 17, 2015
(I think the typo is still there) |
33656fa to
6824f13Comparefhahn
commented
Feb 17, 2015
Argh yes, I somehow forgot to push the updated commit. Sorry for that! |
alexcrichton
commented
Feb 18, 2015
After making `rustc` fail on errors at a stop point, like `-Z parse-only`, in rust-lang#22117, the files in this PR also fail during the parse stage and should be moved as well. Sorry for spliting this move up in two PRs.
After making
rustcfail on errors at a stop point, like-Z parse-only, in #22117, the files in this PR also fail during the parse stage and should be moved as well. Sorry for spliting this move up in two PRs.