summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 16:29:36 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-10 16:29:36 +0300
commit9348e5cc1f7f3dac99faaf1b5377fe7a238e260c (patch)
tree7a1f7511eeb3e7101fa4b70e160c87a112e61027 /tools/ci
parentb446b6f1c80e3ed0fd6ef3c1dd3719db7ac783d0 (diff)
downloadplus-9348e5cc1f7f3dac99faaf1b5377fe7a238e260c.tar.gz
plus-9348e5cc1f7f3dac99faaf1b5377fe7a238e260c.tar.bz2
plus-9348e5cc1f7f3dac99faaf1b5377fe7a238e260c.tar.xz
plus-9348e5cc1f7f3dac99faaf1b5377fe7a238e260c.zip
Disable valgrind in run tests due performance issue.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/scripts/init.sh17
1 files 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" != "" ];