20 lines · plain
1RUN: %cpp_compiler %S/NullDerefTest.cpp -o %t-NullDerefTest2RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest3 4RUN: not %run %t-NullDerefTest %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInput5SingleInput-NOT: Test unit written to ./crash-6 7RUN: rm -rf %tmp/SINGLE_INPUTS8RUN: mkdir -p %tmp/SINGLE_INPUTS9RUN: echo aaa > %tmp/SINGLE_INPUTS/aaa10RUN: echo bbb > %tmp/SINGLE_INPUTS/bbb11RUN: %run %t-SimpleTest %tmp/SINGLE_INPUTS/aaa %tmp/SINGLE_INPUTS/bbb 2>&1 | FileCheck %s --check-prefix=SINGLE_INPUTS12RUN: %run %t-SimpleTest -max_len=2 %tmp/SINGLE_INPUTS/aaa %tmp/SINGLE_INPUTS/bbb 2>&1 | FileCheck %s --check-prefix=SINGLE_INPUTS13RUN: rm -rf %tmp/SINGLE_INPUTS14SINGLE_INPUTS: SimpleTest{{.*}}: Running 2 inputs 1 time(s) each.15SINGLE_INPUTS: aaa in16SINGLE_INPUTS: bbb in17SINGLE_INPUTS: NOTE: fuzzing was not performed, you have only18SINGLE_INPUTS: executed the target code on a fixed set of inputs.19 20