Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / fuzzer-runs.test
blobb3f20c475aa9c3f6ceabc0d24f77a41dd47f0645
1 RUN: mkdir -p %t
2 RUN: %cpp_compiler %S/NthRunCrashTest.cpp -o %t-NthRunCrashTest
3 RUN: echo abcd > %t/NthRunCrashTest.in
4 RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in
5 RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10
6 RUN: not %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10000 2>&1 | FileCheck %s
7 RUN: rm %t/NthRunCrashTest.in
8 CHECK: BINGO