Uh oh!
There was an error while loading. Please reload this page.
Move compile-fail tests with NOTE/HELP annotations to UI - #46641
Conversation
nikomatsakis
commented
Dec 11, 2017
This looks good. We should however document the expected policy, I think, to the compiler test documentation. I guess the idea is:
I will note one thing (which should not hold up this PR). I've been very much enjoying the fact that UI tests check for ERRORs. I like being able to add minimal annotations to the test that give the kind of "overall parameters" for what the test is testing (that errors occur here, here, and here) and then having the But there are times when I want to document a subset of the NOTEs that are present. i.e., so that I can outline "other variations in the stderr output may be acceptable, but if this NOTE disappears, that's a big problem". Note that I say subset -- often there are many notes, but it's just one piece I want to guarantee is present. Before, we required that if you document any note, you must document all notes. The result is that it discourages me from annotating these notes that I want to be present. (On the other hand, if you can't declare that the set of notes is exhaustive, you can't document that a note should not appear. I don't find this to be something I want to document very often, but it's certainly possible. But we could easily have a "NO_NOTE" annotation or something then.) What I do for now is to leave comments, but I fear that future people will not read them. |
oli-obk
commented
Dec 11, 2017
Maybe it would be better suited for an issue with the appropriate tags? Do we have testsuite tags? |
nikomatsakis
commented
Dec 11, 2017
@bors r+ |
bors
commented
Dec 11, 2017
📌 Commit 8f58682 has been approved by |
nikomatsakis
commented
Dec 11, 2017
I don't follow. Maye what would be better suited? |
oli-obk
commented
Dec 11, 2017
Sorry, I kind of skipped ahead. Adding a way to make these comments annotations that can't be ignored is certainly something that makes sense. It'll prevent accidental changes down the road. What I meant was make this comment an issue so it's not forgotten. |
bors
commented
Dec 11, 2017
☔ The latest upstream changes (presumably #46558) made this pull request unmergeable. Please resolve the merge conflicts. |
nikomatsakis
commented
Dec 11, 2017
petrochenkov
commented
Dec 12, 2017
@bors r=nikomatsakis |
bors
commented
Dec 12, 2017
📌 Commit 2820616 has been approved by |
bors
commented
Dec 13, 2017
⌛ Testing commit 28206165f20f9aab2eb1bdc9e27e93e64b266369 with merge 634341d84dbfa933c5ef2d6b41b9c9e554294d25... |
bors
commented
Dec 13, 2017
💔 Test failed - status-travis |
petrochenkov
commented
Dec 13, 2017
Curl failure, looks spurious. |
bors
commented
Dec 13, 2017
⌛ Testing commit 28206165f20f9aab2eb1bdc9e27e93e64b266369 with merge dc02dfe1058a0af48ebd811a8f744e6ef26500c9... |
bors
commented
Dec 13, 2017
💔 Test failed - status-travis |
kennytm
commented
Dec 13, 2017
@bors retry — http://crosstool-ng.org was down. |
bors
commented
Dec 14, 2017
☔ The latest upstream changes (presumably #46633) made this pull request unmergeable. Please resolve the merge conflicts. |
Update docs for custom normalization of test output
petrochenkov
commented
Dec 14, 2017
@bors r=nikomatsakis |
bors
commented
Dec 14, 2017
📌 Commit 66bd53a has been approved by |
bors
commented
Dec 15, 2017
Move compile-fail tests with NOTE/HELP annotations to UI Remove NOTE/HELP annotations from UI tests cc #44844@oli-obk@est31 r? @nikomatsakis
bors
commented
Dec 15, 2017
☀️ Test successful - status-appveyor, status-travis |
Remove NOTE/HELP annotations from UI tests
cc #44844@oli-obk@est31
r? @nikomatsakis