about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2019-07-14 15:21:50 +0200
committerflip1995 <hello@philkrones.com>2019-07-14 15:21:50 +0200
commitce2a7b0160ea8220249d73a386edd0ca85015f66 (patch)
treeef3f435095816ac8bb149b3f9cb6ea18ead8afcb
parent625051d3e7d3a3f1f9d7ac9818b10ed93eb31481 (diff)
downloadrust-ce2a7b0160ea8220249d73a386edd0ca85015f66.tar.gz
rust-ce2a7b0160ea8220249d73a386edd0ca85015f66.zip
Disable dogfood on windows for faster build time on travis
-rw-r--r--tests/dogfood.rs4
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"));