Skip to content

Commit ce2a7b0

Browse files
committed
Disable dogfood on windows for faster build time on travis
1 parent 625051d commit ce2a7b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dogfood.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[test]
22
fn dogfood() {
3-
if option_env!("RUSTC_TEST_SUITE").is_some() {
3+
if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) {
44
return;
55
}
66
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
@@ -30,7 +30,7 @@ fn dogfood() {
3030

3131
#[test]
3232
fn dogfood_tests() {
33-
if option_env!("RUSTC_TEST_SUITE").is_some() {
33+
if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) {
3434
return;
3535
}
3636
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));

0 commit comments

Comments
 (0)