xref: /llvm-project/compiler-rt/test/fuzzer/max-number-of-runs.test (revision fa57519e317f05ba8c01814062125db1f4793829)
1RUN: %cpp_compiler %S/AccumulateAllocationsTest.cpp -o %t-AccumulateAllocationsTest
2
3RUN: %run %t-AccumulateAllocationsTest -seed=1 -runs=2 2>&1 | FileCheck %s --check-prefix=CHECK1
4CHECK1: Done 2 runs
5
6RUN: %run %t-AccumulateAllocationsTest -seed=1 -runs=3 2>&1 | FileCheck %s --check-prefix=CHECK2
7CHECK2: Done 3 runs
8
9RUN: %run %t-AccumulateAllocationsTest -seed=1 -runs=4 2>&1 | FileCheck %s --check-prefix=CHECK3
10CHECK3: Done 4 runs
11