diff options
Diffstat (limited to 'contrib/ci/run')
-rwxr-xr-x | contrib/ci/run | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/contrib/ci/run b/contrib/ci/run index 00cf95094..2f81a002d 100755 --- a/contrib/ci/run +++ b/contrib/ci/run @@ -244,36 +244,25 @@ function build_debug() # Run coverage build checks. function build_coverage() { - declare -r scan_report_dir="ci-report-scan" declare -r coverage_report_dir="ci-report-coverage" declare test_dir export CFLAGS="$COVERAGE_CFLAGS" test_dir=`mktemp --directory /dev/shm/ci-test-dir.XXXXXXXX` - stage configure scan-build "$BASE_DIR/configure" \ - "${CONFIGURE_ARG_LIST[@]}" \ - --with-test-dir="$test_dir" + stage configure "$BASE_DIR/configure" \ + "${CONFIGURE_ARG_LIST[@]}" \ + --with-test-dir="$test_dir" # Build everything, including tests # Not building "tests" due to https://fedorahosted.org/sssd/ticket/2350 - stage scan-make-tests scan_build_single \ - "$scan_report_dir" \ - -plist-html \ - --html-title="sssd - scan-build report" \ - make-check-wrap -j $CPU_NUM check -- true - printf "%-$((TITLE_WIDTH + RESULT_WIDTH))s%s\n" \ - "scan report:" \ - "`disppath \"\$scan_report_dir/index.html\"`" - # Ignored until issues found by the scanner are fixed - stage scan-check scan_check "$scan_report_dir" || - true + stage make-tests make-check-wrap -j $CPU_NUM check -- true stage lcov-pre lcov --capture --initial --directory . \ --base-directory "$BASE_DIR" \ --output-file ci-base.info # Run tests - stage make-check scan-build make -j $CPU_NUM check || true + stage make-check make -j $CPU_NUM check || true mv "$test_dir" ci-test-dir stage lcov-post lcov --capture --directory . \ |