Disable dogfood on windows for faster build time on travis

This commit is contained in:
flip1995 2019-07-14 15:21:50 +02:00
parent 625051d3e7
commit ce2a7b0160
No known key found for this signature in database
GPG key ID: 693086869D506637

View file

@ -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"));