Commit 9339f9bd authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

CI_SUPPORT_LD_PRELOAD does not need exporting

parent 8f52fede
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -391,9 +391,9 @@ test_py_project()
      CONDA_JEMALLOC="$CONDA_PREFIX/lib/libjemalloc.so.2"
      if test "$CONDA_PREFIX" != "" && test -f "$CONDA_JEMALLOC"; then
        echo "*** running with $CONDA_JEMALLOC in LD_PRELOAD"
        export CI_SUPPORT_LD_PRELOAD="$CONDA_JEMALLOC"
        CI_SUPPORT_LD_PRELOAD="$CONDA_JEMALLOC"
      else
        export CI_SUPPORT_LD_PRELOAD="$LD_PRELOAD"
        CI_SUPPORT_LD_PRELOAD="$LD_PRELOAD"
      fi

      ( LD_PRELOAD="$CI_SUPPORT_LD_PRELOAD" with_echo "${PY_EXE}" -m pytest \
@@ -436,9 +436,9 @@ run_examples()
      CONDA_JEMALLOC="$CONDA_PREFIX/lib/libjemalloc.so.2"
      if test "$CONDA_PREFIX" != "" && test -f "$CONDA_JEMALLOC"; then
        echo "*** running with $CONDA_JEMALLOC in LD_PRELOAD"
        export CI_SUPPORT_LD_PRELOAD="$CONDA_JEMALLOC"
        CI_SUPPORT_LD_PRELOAD="$CONDA_JEMALLOC"
      else
        export CI_SUPPORT_LD_PRELOAD="$LD_PRELOAD"
        CI_SUPPORT_LD_PRELOAD="$LD_PRELOAD"
      fi

      (cd "$dn"; time LD_PRELOAD="$CI_SUPPORT_LD_PRELOAD" ${PY_EXE} "$bn")