[all-commits] [llvm/llvm-project] a98284: minimize_crash.test sometimes one-shots the minimi...

Andrew Haberlandt via All-commits all-commits at lists.llvm.org
Wed Sep 23 09:51:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9828443a2a90a672551f1f59098393601959ed4
      https://github.com/llvm/llvm-project/commit/a9828443a2a90a672551f1f59098393601959ed4
  Author: Andrew Haberlandt <ahaberlandt at apple.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M compiler-rt/test/fuzzer/minimize_crash.test

  Log Message:
  -----------
  minimize_crash.test sometimes one-shots the minimization (fix flaky test) (#225544)

After #223470 it is now possible for `minimize_crash.test` to one-shot
the minimization by applying the EraseBytes mutation 3 times (to go from
size 8=>4=>2=>1).

```
 |            35: SUMMARY: libFuzzer: deadly signal
 |            36: MS: 3 EraseBytes-EraseBytes-EraseBytes-; base unit: 0000000000000000000000000000000000000000
 |            37: 0x2a,
 |            38: *
```

This causes the test to fail because it only prints the `Test unit
written to` line once. This sets `-mutate_depth` to 2 to guarantee that
it won't be one-shot and thus the line will print more than once.

rdar://188078094



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list