From 9348e5cc1f7f3dac99faaf1b5377fe7a238e260c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Jul 2018 16:29:36 +0300 Subject: Disable valgrind in run tests due performance issue. --- tools/ci/scripts/init.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 61fd11d50..1a0ae84e5 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -214,14 +214,15 @@ function run_make_check { cat src/manaplustests.log exit ${ERR} fi - valgrind -q --read-var-info=yes --track-origins=yes --malloc-fill=11 --free-fill=55 --show-reachable=yes --leak-check=full --leak-resolution=high --partial-loads-ok=yes --error-limit=no ./src/manaplustests 2>logs/valg.log - export DATA=$(grep "invalid" logs/valg.log) - if [ "$DATA" != "" ]; - then - cat logs/valg.log - echo "valgrind error" - exit 1 - fi +# disabled due performance issue. it runs bigger than gitlab limit (3h) +# valgrind -q --read-var-info=yes --track-origins=yes --malloc-fill=11 --free-fill=55 --show-reachable=yes --leak-check=full --leak-resolution=high --partial-loads-ok=yes --error-limit=no ./src/manaplustests 2>logs/valg.log +# export DATA=$(grep "invalid" logs/valg.log) +# if [ "$DATA" != "" ]; +# then +# cat logs/valg.log +# echo "valgrind error" +# exit 1 +# fi # disabled due some kind of bug in valgrind. look like false positives. # export DATA=$(grep -A 2 "uninitialised" logs/valg.log|grep ".cpp") # if [ "$DATA" != "" ]; -- cgit v1.2.3-70-g09d2