Skip to content

Commit

Permalink
Merge pull request openucx#1515 from yosefe/topic/jenkins-valgrind-no…
Browse files Browse the repository at this point in the history
…-ppc

JENKINS: Disable valgrind on ppc.
  • Loading branch information
yosefe authored May 17, 2017
2 parents caa0e11 + 71c65c3 commit e562654
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contrib/test_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,16 @@ run_gtest() {
$AFFINITY $TIMEOUT make -C test/gtest test
(cd test/gtest && rename .tap _gtest.tap *.tap && mv *.tap $GTEST_REPORT_DIR)

if ! [[ $(uname -m) =~ "aarch" ]]
if ! [[ $(uname -m) =~ "aarch" ]] && ! [[ $(uname -m) =~ "ppc" ]]
then
echo "==== Running valgrind tests ===="
if [ $(valgrind --version) != "valgrind-3.10.0" ]

# Load newer valgrind if naative is older than 3.10
if ! (echo "valgrind-3.10.0"; valgrind --version) | sort -CV
then
module load tools/valgrind-latest
fi

export VALGRIND_EXTRA_ARGS="--xml=yes --xml-file=valgrind.xml --child-silent-after-fork=yes"
$AFFINITY $TIMEOUT_VALGRIND make -C test/gtest test_valgrind
(cd test/gtest && rename .tap _vg.tap *.tap && mv *.tap $GTEST_REPORT_DIR)
Expand Down

0 comments on commit e562654

Please sign in to comment.