Commit 2e2a8567 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Allow ulimit in test_py_project to fail

parent 2bcc5350
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -349,11 +349,11 @@ test_py_project()

    if [[ -n "$TESTABLES" ]]; then
      # Core dumps? Sure, take them.
      ulimit -c unlimited
      ulimit -c unlimited || true

      if test "$PLATFORM" != "Windows"; then
        # 10 GiB should be enough for just about anyone :)
        ulimit -m "$(python -c 'print(1024*1024*10)')"
        ulimit -m "$(python -c 'print(1024*1024*10)')" || true
      fi

      if [[ $CISUPPORT_PARALLEL_PYTEST == "" || $CISUPPORT_PARALLEL_PYTEST == "xdist" ]]; then