From b09519295ff3c87b17049dbda942dd75fd5650df Mon Sep 17 00:00:00 2001 From: Kellen Sunderland Date: Tue, 18 Sep 2018 15:49:17 -0700 Subject: [PATCH] [MXNET-953] Don't fail build on leak detection --- ci/docker/runtime_functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index f16030e14c93..f5241d539019 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -829,6 +829,9 @@ integrationtest_ubuntu_gpu_caffe() { integrationtest_ubuntu_cpu_asan() { set -ex export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5 + + # We do not want to fail the build on ASAN errors until memory leaks have been addressed. + export ASAN_OPTIONS=exitcode=0 cd /work/mxnet/build/cpp-package/example/ /work/mxnet/cpp-package/example/get_data.sh ./mlp_cpu