[all-commits] [llvm/llvm-project] 56a9ef: [scudo] Skip AllocAfterFork test on machines with ...

Kostya Kortchinsky via All-commits all-commits at lists.llvm.org
Mon Oct 11 10:34:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56a9effc427b10203dfb7f691a12924a82ba5cd5
      https://github.com/llvm/llvm-project/commit/56a9effc427b10203dfb7f691a12924a82ba5cd5
  Author: Kostya Kortchinsky <kostyak at google.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp

  Log Message:
  -----------
  [scudo] Skip AllocAfterFork test on machines with low max_map_count

Reducing the number of iterations in that test with D111342 helped,
but the failure still occured flakily when the test is ran as part
of a large test suite.

Reducing further the number of iterations might not be good enough,
so we will skip the test if the `max_map_count` variable can be
read, and if lower than a given threshold.

Differential Revision: https://reviews.llvm.org/D111465




More information about the All-commits mailing list