Skip to content

Commit

Permalink
Merge pull request #4956 from amaslenn/topic/azp-new-tests-v1.8
Browse files Browse the repository at this point in the history
CI: port updates from master — v1.8
  • Loading branch information
yosefe authored Mar 31, 2020
2 parents 9fb576a + f12f2f5 commit 86df37f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions buildlib/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ stages:
parameters:
name: gpu
demands: ucx_gpu -equals yes
- template: tests.yml
parameters:
name: new
demands: ucx_new -equals yes

7 changes: 5 additions & 2 deletions contrib/test_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ num_cpus=$(lscpu -p | grep -v '^#' | wc -l)
[ -z $num_cpus ] && num_cpus=1
parallel_jobs=4
[ $parallel_jobs -gt $num_cpus ] && parallel_jobs=$num_cpus
num_pinned_threads=$(nproc)
[ $parallel_jobs -gt $num_pinned_threads ] && parallel_jobs=$num_pinned_threads

MAKE="make"
MAKEP="make -j${parallel_jobs}"
export AUTOMAKE_JOBS=$parallel_jobs


#
Expand Down Expand Up @@ -1246,8 +1249,8 @@ run_coverity() {
cov_build_id="cov_build_${ucx_build_type}_${BUILD_NUMBER}"
cov_build="$WORKSPACE/$cov_build_id"
rm -rf $cov_build
cov-build --dir $cov_build $MAKEP all
cov-analyze $COV_OPT --security --concurrency --dir $cov_build
cov-build --dir $cov_build $MAKEP all
cov-analyze --jobs $parallel_jobs $COV_OPT --security --concurrency --dir $cov_build
nerrors=$(cov-format-errors --dir $cov_build | awk '/Processing [0-9]+ errors?/ { print $2 }')
rc=$(($rc+$nerrors))

Expand Down

0 comments on commit 86df37f

Please sign in to comment.