diff options
| author | Alex Burka <durka42@gmail.com> | 2016-09-03 01:29:12 +0000 |
|---|---|---|
| committer | Alex Burka <durka42@gmail.com> | 2016-09-03 06:04:03 +0000 |
| commit | 0efc4bf387f962f7ba56a9bc0179fcc72701f53c (patch) | |
| tree | f7bda290f4b1f9ef27c90f6c1b1cc53507eb6a18 /src/bootstrap | |
| parent | 100b309fd1b951fa074556f9e3a50354d1ed7923 (diff) | |
| download | rust-0efc4bf387f962f7ba56a9bc0179fcc72701f53c.tar.gz rust-0efc4bf387f962f7ba56a9bc0179fcc72701f53c.zip | |
rustbuild: add config.toml option to disable codegen tests
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/config.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/config.toml.example | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index 682a6f74126..c1af7bd794c 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -144,6 +144,7 @@ struct Rust { rpath: Option<bool>, optimize_tests: Option<bool>, debuginfo_tests: Option<bool>, + codegen_tests: Option<bool>, } /// TOML representation of how each build target is configured. @@ -232,6 +233,7 @@ impl Config { set(&mut config.rust_optimize, rust.optimize); set(&mut config.rust_optimize_tests, rust.optimize_tests); set(&mut config.rust_debuginfo_tests, rust.debuginfo_tests); + set(&mut config.codegen_tests, rust.codegen_tests); set(&mut config.rust_rpath, rust.rpath); set(&mut config.debug_jemalloc, rust.debug_jemalloc); set(&mut config.use_jemalloc, rust.use_jemalloc); diff --git a/src/bootstrap/config.toml.example b/src/bootstrap/config.toml.example index 2894adafef6..ef24a948664 100644 --- a/src/bootstrap/config.toml.example +++ b/src/bootstrap/config.toml.example @@ -130,6 +130,10 @@ #optimize-tests = true #debuginfo-tests = true +# Flag indicating whether codegen tests will be run or not. If you get an error +# saying that the FileCheck executable is missing, you may want to disable this. +#codegen-tests = true + # ============================================================================= # Options for specific targets # |
