Skip to content

Commit

Permalink
Remove compile-pass from compiletest
Browse files Browse the repository at this point in the history
Also change annotations in some tests
  • Loading branch information
JohnTitor committed Jul 5, 2019
1 parent 853f300 commit ce77031
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
@@ -1,5 +1,5 @@
// edition:2018
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

Expand Down
@@ -1,5 +1,5 @@
// edition:2018
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

Expand Down
@@ -1,5 +1,5 @@
// edition:2018
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

Expand Down
@@ -1,5 +1,5 @@
// edition:2018
// compile-pass
// build-pass (FIXME(62277): could be check-pass?)
// revisions: migrate mir
//[mir]compile-flags: -Z borrowck=mir

Expand Down
3 changes: 0 additions & 3 deletions src/tools/compiletest/src/header.rs
Expand Up @@ -591,9 +591,6 @@ impl TestProps {
} else if config.parse_name_directive(ln, "build-pass") {
check_no_run("build-pass");
Some(PassMode::Build)
} else if config.parse_name_directive(ln, "compile-pass") /* compatibility */ {
check_no_run("compile-pass");
Some(PassMode::Build)
} else if config.parse_name_directive(ln, "run-pass") {
if config.mode != Mode::Ui && config.mode != Mode::RunPass /* compatibility */ {
panic!("`run-pass` header is only supported in UI tests")
Expand Down

0 comments on commit ce77031

Please sign in to comment.