search for: bla0

Displaying 5 results from an estimated 5 matches for "bla0".

Did you mean: bla
2016 Dec 15
1
[FileCheck] Fix --strict-whitespace --match-full-lines
...leCheck] Fix --strict-whitespace --match-full- >> lines >> >> On 14/12/16 18:48, Robinson, Paul wrote: >>> Please send patches to llvm-commits not llvm-dev. >>> >>> Writing FileCheck tests has pitfalls. A test along these lines: >>> >>> bla0 >>> CHECK:bla1 >>> >>> will actually pass, because the CHECK pattern is also part of the input >>> so it will readily match itself. You want the CHECK lines not to match >>> themselves, which you can easily do by introducing {{}} into the (middle >&g...
2016 Dec 15
0
[FileCheck] Fix --strict-whitespace --match-full-lines
...ubject: Re: [llvm-dev] [FileCheck] Fix --strict-whitespace --match-full- > lines > > On 14/12/16 18:48, Robinson, Paul wrote: > > Please send patches to llvm-commits not llvm-dev. > > > > Writing FileCheck tests has pitfalls. A test along these lines: > > > > bla0 > > CHECK:bla1 > > > > will actually pass, because the CHECK pattern is also part of the input > > so it will readily match itself. You want the CHECK lines not to match > > themselves, which you can easily do by introducing {{}} into the (middle > > of the) pat...
2016 Dec 14
0
[FileCheck] Fix --strict-whitespace --match-full-lines
Please send patches to llvm-commits not llvm-dev. Writing FileCheck tests has pitfalls. A test along these lines: bla0 CHECK:bla1 will actually pass, because the CHECK pattern is also part of the input so it will readily match itself. You want the CHECK lines not to match themselves, which you can easily do by introducing {{}} into the (middle of the) pattern. That is: bla0 CHECK:{{bla1}} will still pass (inco...
2016 Dec 15
3
[FileCheck] Fix --strict-whitespace --match-full-lines
On 14/12/16 18:48, Robinson, Paul wrote: > Please send patches to llvm-commits not llvm-dev. > > Writing FileCheck tests has pitfalls. A test along these lines: > > bla0 > CHECK:bla1 > > will actually pass, because the CHECK pattern is also part of the input > so it will readily match itself. You want the CHECK lines not to match > themselves, which you can easily do by introducing {{}} into the (middle > of the) pattern. That is: > > bla0...
2016 Dec 14
4
[FileCheck] Fix --strict-whitespace --match-full-lines
Hi, this patch fixes a problem with leading/trailing whitespace matching for FileCheck --strict-whitespace --match-full-lines. Consider a text file: ... $ cat DUMP bla1 bla2 bla3 bla4 bla5 ... with some leading and trailing spaces, made more visible like this: ... $ sed 's/ /_/g' DUMP bla1 bla2 _bla3 bla4_ _bla5_ ... and a FileCheck file CHECK to match DUMP: ... $ cat CHECK //