diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-03-15 13:24:34 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-03-15 13:25:10 +0200 |
| commit | dbf19c3975a014861535b775b2fb7cd71e6c5042 (patch) | |
| tree | 34e20e7b38fee07ebc58c2b85b6732b61b9be767 | |
| parent | 0ee059d5a08662b22250e28dbd5d5a9502303afb (diff) | |
| download | rust-dbf19c3975a014861535b775b2fb7cd71e6c5042.tar.gz rust-dbf19c3975a014861535b775b2fb7cd71e6c5042.zip | |
rustbuild: remove obsolete fulldeps behavior from src/test/pretty tests, and enable them by default.
| -rw-r--r-- | src/bootstrap/mk/Makefile.in | 1 | ||||
| -rw-r--r-- | src/bootstrap/test.rs | 12 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/bootstrap/mk/Makefile.in b/src/bootstrap/mk/Makefile.in index 1c27cf3909b..07be27c2f5a 100644 --- a/src/bootstrap/mk/Makefile.in +++ b/src/bootstrap/mk/Makefile.in @@ -48,7 +48,6 @@ check: $(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS) check-aux: $(Q)$(BOOTSTRAP) test \ - src/test/pretty \ src/test/run-pass/pretty \ src/test/run-fail/pretty \ src/test/run-pass-valgrind/pretty \ diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index b7323b2eadc..81e09bc878a 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -897,12 +897,10 @@ host_test!(Rustdoc { suite: "rustdoc" }); -test!(Pretty { +host_test!(Pretty { path: "src/test/pretty", mode: "pretty", - suite: "pretty", - default: false, - host: true + suite: "pretty" }); test!(RunPassPretty { path: "src/test/run-pass/pretty", @@ -993,11 +991,7 @@ impl Step for Compiletest { }); } - if suite.ends_with("fulldeps") || - // FIXME: Does pretty need librustc compiled? Note that there are - // fulldeps test suites with mode = pretty as well. - mode == "pretty" - { + if suite.ends_with("fulldeps") { builder.ensure(compile::Rustc { compiler, target }); } |
