diff options
Diffstat (limited to 'test/loop-convert/array.cpp')
| -rw-r--r-- | test/loop-convert/array.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/loop-convert/array.cpp b/test/loop-convert/array.cpp index 8853dd6f..330ed809 100644 --- a/test/loop-convert/array.cpp +++ b/test/loop-convert/array.cpp @@ -1,12 +1,11 @@ -// RUN: rm -rf %t.cpp -// RUN: grep -Ev "//\s*[A-Z-]+:" %s > %t.cpp -// RUN: loop-convert . %t.cpp -- -I %S/Inputs \ -// RUN: && FileCheck -input-file=%t.cpp %s -// RUN: grep -Ev "//\s*[A-Z-]+:" %s > %t.cpp +// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp // RUN: cp %t.cpp %t.base -// RUN: loop-convert -count-only . %t.cpp -- -I %S/Inputs > %T/out \ -// RUN: && FileCheck -check-prefix=COUNTONLY -input-file=%T/out %s \ -// RUN: && diff %t.cpp %t.base +// RUN: loop-convert . %t.cpp -- -I %S/Inputs +// RUN: FileCheck -input-file=%t.cpp %s +// RUN: cp %t.base %t.cpp +// RUN: loop-convert -count-only . %t.cpp -- -I %S/Inputs > %T/out +// RUN: FileCheck -check-prefix=COUNTONLY -input-file=%T/out %s +// RUN: diff %t.cpp %t.base #include "structures.h" |
