llvm-project/compiler-rt/test/fuzzer/fuzzer-runs.test

10 lines
362 B
Plaintext

RUN: mkdir -p %t
RUN: %cpp_compiler %S/NthRunCrashTest.cpp -o %t-NthRunCrashTest
RUN: echo abcd > %t/NthRunCrashTest.in
RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in
RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10
RUN: not %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10000 2>&1 | FileCheck %s
RUN: rm %t/NthRunCrashTest.in
CHECK: BINGO