diff options
| author | flip1995 <hello@philkrones.com> | 2019-07-14 15:21:50 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2019-07-14 15:21:50 +0200 |
| commit | ce2a7b0160ea8220249d73a386edd0ca85015f66 (patch) | |
| tree | ef3f435095816ac8bb149b3f9cb6ea18ead8afcb | |
| parent | 625051d3e7d3a3f1f9d7ac9818b10ed93eb31481 (diff) | |
| download | rust-ce2a7b0160ea8220249d73a386edd0ca85015f66.tar.gz rust-ce2a7b0160ea8220249d73a386edd0ca85015f66.zip | |
Disable dogfood on windows for faster build time on travis
| -rw-r--r-- | tests/dogfood.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dogfood.rs b/tests/dogfood.rs index 4153c9ef06e..1f03ba3950a 100644 --- a/tests/dogfood.rs +++ b/tests/dogfood.rs @@ -1,6 +1,6 @@ #[test] fn dogfood() { - if option_env!("RUSTC_TEST_SUITE").is_some() { + if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) { return; } let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); @@ -30,7 +30,7 @@ fn dogfood() { #[test] fn dogfood_tests() { - if option_env!("RUSTC_TEST_SUITE").is_some() { + if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) { return; } let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); |
