Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 63c75d3

Browse files
committedSep 21, 2018
Auto merge of #54223 - pnkfelix:issue-53764-uiify-run-pass, r=nikomatsakis
`ui`ify run-pass This addresses the remainder of #53764 by first converting `src/test/run-pass` into another `ui`-style test suite, and then turning on `compare-mode=nll` for that new suite. After this lands, we can address #54047 for the short term by moving all the `src/test/ui/run-pass` tests back to `src/test/run-pass`. (Longer term, the compiler team's current (hypothetical sketch of a) plan (see [1][], [2][]) is unify all the tests by embedding these meta-properties like "// run-pass` into their headers explicitly and dropping the significance of their location on the file system.) [1]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/subject/weekly.20meeting.202018-09-13/near/133889370 [2]: #54047 (comment)
2 parents 1002e40 + a79db05 commit 63c75d3

File tree

238 files changed

+463
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+463
-20
lines changed
 

‎src/bootstrap/test.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,11 @@ default_test_with_compare_mode!(Ui {
755755
compare_mode: "nll"
756756
});
757757

758-
default_test!(RunPass {
758+
default_test_with_compare_mode!(RunPass {
759759
path: "src/test/run-pass",
760760
mode: "run-pass",
761-
suite: "run-pass"
761+
suite: "run-pass",
762+
compare_mode: "nll"
762763
});
763764

764765
default_test!(CompileFail {

‎src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unused_imports)]
1112
// ignore-cross-compile
1213

1314
#![feature(rustc_private)]

0 commit comments

Comments
 (0)
Please sign in to comment.