From 2128186fc1bb4efe7972e37b3277f72e38b9d836 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 8 May 2017 20:19:43 +0200 Subject: [PATCH] coverage.sh: Show output of "make check run-xmltest" --- expat/coverage.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/expat/coverage.sh b/expat/coverage.sh index f778ae2d..ea5abbcc 100755 --- a/expat/coverage.sh +++ b/expat/coverage.sh @@ -70,19 +70,20 @@ _run() { make buildlib &> build.log - lcov -c -d "${capture_dir}" -i -o "${coverage_info}-zero" + lcov -c -d "${capture_dir}" -i -o "${coverage_info}-zero" &> run.log - make check run-xmltest &> test.log + make check run-xmltest - lcov -c -d "${capture_dir}" -o "${coverage_info}-test" + lcov -c -d "${capture_dir}" -o "${coverage_info}-test" &>> run.log lcov \ -a "${coverage_info}-zero" \ -a "${coverage_info}-test" \ - -o "${coverage_info}-all" + -o "${coverage_info}-all" \ + &>> run.log # Make sure that files overlap in report despite different build folders sed "/SF:/ s,${build_dir}/,${source_dir}/," "${coverage_info}-all" > "${coverage_info}" - ) &> "${build_dir}/run.log" + ) res=$? if [[ ${res} -eq 0 ]]; then