Uh oh!
There was an error while loading. Please reload this page.
compilertest (UI test): Support custom normalization. - #43083
Conversation
alexcrichton
commented
Jul 6, 2017
Looks like there may be some travis failure? |
kennytm
commented
Jul 6, 2017
@alexcrichton Travis is fine. |
nikomatsakis
commented
Jul 6, 2017
Ooh, exciting :) |
nikomatsakis
left a comment
There was a problem hiding this comment.
This looks great. Could you however update the UI README file to describe how it works?
It's possible that this file should be merge with the more general COMPILER_TESTS.md README, as well.
904eb24 to
7efb58cComparekennytm
commented
Jul 6, 2017
@nikomatsakis The two READMEs are merged in 7efb58c. |
nikomatsakis
commented
Jul 7, 2017
@bors r+ |
bors
commented
Jul 7, 2017
📌 Commit 7efb58c has been approved by |
nikomatsakis
commented
Jul 7, 2017
@kennytm nice |
bors
commented
Jul 8, 2017
⌛ Testing commit 7efb58c with merge 9ce08cbdc414ca7eb414d095ea654449443cace3... |
bors
commented
Jul 8, 2017
💔 Test failed - status-travis |
kennytm
commented
Jul 8, 2017
Details |
alexcrichton
commented
Jul 9, 2017
@bors: retry |
bors
commented
Jul 9, 2017
… r=nikomatsakis compilertest (UI test): Support custom normalization. Closes#42434. Adds this header for UI tests: ```rust // normalize-stderr-32bit: "fn() (32 bits)" -> "fn() ($PTR bits)" ``` It will normalize the `stderr` output on 32-bit platforms, by replacing all instances of `fn() (32 bits)` by `fn() ($PTR bits)`. Extends the UI tests in #42304 and #41968 to 32-bit targets. r? @nikomatsakis
bors
commented
Jul 9, 2017
💔 Test failed - status-travis |
Legit. Well transmuting a 32-bit pointer to EDIT: Checking this test further, turns out this line is supposed to have no errors. The original test added in #31710 reads // No error if a coercion would otherwise occur.
mem::transmute::<fn(),usize>(main);so the intension is transmuting to a I'll change the test back to use |
7efb58c to
a0344d8Comparekennytm
commented
Jul 9, 2017
@nikomatsakisUpdated test. Now only one UI test left ( |
nikomatsakis
commented
Jul 10, 2017
@bors r+ |
bors
commented
Jul 10, 2017
📌 Commit a0344d8 has been approved by |
bors
commented
Jul 11, 2017
⌛ Testing commit a0344d80dd6868d829527b07f3c9503b3d442326 with merge b36ecd74762fe453df1358e75ec38b33db7373f0... |
bors
commented
Jul 11, 2017
💔 Test failed - status-travis |
Hmm the error message is changed? Going to rebase and update the UI test. Edit: Looks the the error message is E0512 if we are transmuting to non-pointer-sized types, E0591 otherwise, which causes this difference. Going to change the targe type to |
Prepare for `normalize-std???` which will share the same logic. Added `ignore-32bit` and `ignore-64bit`.
…normalization works.
a0344d8 to
34209b0Comparekennytm
commented
Jul 11, 2017
@nikomatsakis Updated test. |
nikomatsakis
commented
Jul 11, 2017
@bors r+ |
bors
commented
Jul 11, 2017
📌 Commit 34209b0 has been approved by |
bors
commented
Jul 11, 2017
… r=nikomatsakis compilertest (UI test): Support custom normalization. Closes#42434. Adds this header for UI tests: ```rust // normalize-stderr-32bit: "fn() (32 bits)" -> "fn() ($PTR bits)" ``` It will normalize the `stderr` output on 32-bit platforms, by replacing all instances of `fn() (32 bits)` by `fn() ($PTR bits)`. Extends the UI tests in #42304 and #41968 to 32-bit targets. r? @nikomatsakis
bors
commented
Jul 12, 2017
☀️ Test successful - status-appveyor, status-travis |
Closes#42434.
Adds this header for UI tests:
// normalize-stderr-32bit: "fn() (32 bits)" -> "fn() ($PTR bits)"It will normalize the
stderroutput on 32-bit platforms, by replacing all instances offn() (32 bits)byfn() ($PTR bits).Extends the UI tests in #42304 and #41968 to 32-bit targets.
r? @nikomatsakis