len_control.test
474 Bytes
# Tests len_control
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
LIM4: DONE{{.*}}lim: 4
LIM77: DONE{{.*}}lim: 77
LIM20: DONE{{.*}}lim: 20
RUN: %run %t-SimpleTest -runs=1 2>&1 | FileCheck %s --check-prefix=LIM4
RUN: %run %t-SimpleTest -seed_inputs=%t-SimpleTest -max_len=77 -runs=1 2>&1 | FileCheck %s --check-prefix=LIM77
RUN: echo -n 01234567890123456789 > %t-temp
RUN: %run %t-SimpleTest -seed_inputs=%t-temp -runs=1 2>&1 | FileCheck %s --check-prefix=LIM20