From faef48196d9de069c28f211253f14bf34e0a38a1 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 6 Nov 2017 12:08:38 +0100 Subject: [PATCH] Don't build tests with GCC on Windows --- tests/test.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/test.rs b/tests/test.rs index b9f2bb7ec..e85009a72 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -195,12 +195,14 @@ fn test_integration() { make_clean(path); - println!("GCC"); - make(path, "g++"); - run(path); - check_equal_ade(&read_expected(path, "gcc", "ade"), &run_grcov(path, false, "ade")); - check_equal_coveralls(&read_expected(path, "gcc", "coveralls"), &run_grcov(path, false, "coveralls"), skip_branches); - make_clean(path); + if !cfg!(windows) { + println!("GCC"); + make(path, "g++"); + run(path); + check_equal_ade(&read_expected(path, "gcc", "ade"), &run_grcov(path, false, "ade")); + check_equal_coveralls(&read_expected(path, "gcc", "coveralls"), &run_grcov(path, false, "coveralls"), skip_branches); + make_clean(path); + } // On CI, don't test llvm, as there are problems for now. let skip_llvm = env::var("CONTINUOUS_INTEGRATION").is_ok();