Skip to content

Commit

Permalink
Check coveralls results before ADE results in integration tests, as t…
Browse files Browse the repository at this point in the history
…hey are more verbose on failure
  • Loading branch information
marco-c committed Mar 25, 2019
1 parent f9beda5 commit 2be9dd7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test.rs
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit 2be9dd7

Please sign in to comment.