diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-08-27 22:14:29 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-08-27 22:14:29 -0500 |
| commit | b8ebc1347c0f69c833b4fa908bcc43eb47949efa (patch) | |
| tree | 419c16dca7bdd11f5f3c78e29004b04a86dfede1 /src/bootstrap/lib.rs | |
| parent | c70d633e94dd52d036ef5808ab7dc49a72506492 (diff) | |
| download | rust-b8ebc1347c0f69c833b4fa908bcc43eb47949efa.tar.gz rust-b8ebc1347c0f69c833b4fa908bcc43eb47949efa.zip | |
don't run codegen tests when they have been disabled
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 9eacb5e3924..9f0efa8289d 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -390,8 +390,10 @@ impl Build { "mir-opt", "mir-opt"); } CheckCodegen { compiler } => { - check::compiletest(self, &compiler, target.target, - "codegen", "codegen"); + if self.config.codegen_tests { + check::compiletest(self, &compiler, target.target, + "codegen", "codegen"); + } } CheckCodegenUnits { compiler } => { check::compiletest(self, &compiler, target.target, |
