mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Disable dogfood on windows for faster build time on travis
This commit is contained in:
parent
625051d3e7
commit
ce2a7b0160
@ -1,6 +1,6 @@
|
|||||||
#[test]
|
#[test]
|
||||||
fn dogfood() {
|
fn dogfood() {
|
||||||
if option_env!("RUSTC_TEST_SUITE").is_some() {
|
if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||||
@ -30,7 +30,7 @@ fn dogfood() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn dogfood_tests() {
|
fn dogfood_tests() {
|
||||||
if option_env!("RUSTC_TEST_SUITE").is_some() {
|
if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
let root_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||||
|
Loading…
Reference in New Issue
Block a user