From bc68522c25926ef9dec0eb41236ac2d09d955da1 Mon Sep 17 00:00:00 2001 From: edoapra Date: Fri, 28 Oct 2022 13:24:56 -0700 Subject: [PATCH] USE_ASAN conflicts with MALLOC_PERTURB_ [ci skip] --- QA/runtests.mpi.unix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/QA/runtests.mpi.unix b/QA/runtests.mpi.unix index 905e682a0c..812f9f9e03 100755 --- a/QA/runtests.mpi.unix +++ b/QA/runtests.mpi.unix @@ -32,7 +32,9 @@ export HYDRA_DEBUG=0 # find memory leaks using this glibc feature that # initialized memory blocks to non-zero values -export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) +if [[ -z "${USE_ASAN}" ]]; then + export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) +fi if [[ -z "${NWCHEM_TARGET}" ]]; then UNAME_S=$(uname -s)