Skip to content

Commit

Permalink
Disable dogfood on windows for faster build time on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jul 14, 2019
1 parent 625051d commit ce2a7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dogfood.rs
Original file line number Diff line number Diff line change
@@ -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"));
Expand Down Expand Up @@ -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"));
Expand Down

0 comments on commit ce2a7b0

Please sign in to comment.