From 2be9dd7359a32ac4db1b6486c02f55a87aff29c2 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 25 Mar 2019 19:00:14 +0100 Subject: [PATCH] Check coveralls results before ADE results in integration tests, as they are more verbose on failure --- tests/test.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/test.rs b/tests/test.rs index 33b9e53e6..2eedc01d5 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -459,15 +459,15 @@ fn test_integration() { let gcc_version = get_version(gpp); make(path, gpp); run(path); - check_equal_ade( - &read_expected(path, "gcc", &gcc_version, "ade", None), - &run_grcov(vec![path], &PathBuf::from(""), "ade"), - ); check_equal_coveralls( &read_expected(path, "gcc", &gcc_version, "coveralls", None), &run_grcov(vec![path], path, "coveralls"), skip_branches, ); + check_equal_ade( + &read_expected(path, "gcc", &gcc_version, "ade", None), + &run_grcov(vec![path], &PathBuf::from(""), "ade"), + ); do_clean(path); } @@ -476,16 +476,16 @@ fn test_integration() { let clang_version = get_version(clangpp); make(path, clangpp); run(path); - check_equal_ade( - &read_expected(path, "llvm", &clang_version, "ade", None), - &run_grcov(vec![path], &PathBuf::from(""), "ade"), - ); check_equal_coveralls( &read_expected(path, "llvm", &clang_version, "coveralls", None), &run_grcov(vec![path], path, "coveralls"), skip_branches, ); - + check_equal_ade( + &read_expected(path, "llvm", &clang_version, "ade", None), + &run_grcov(vec![path], &PathBuf::from(""), "ade"), + ); + do_clean(path); } }