You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can run most tests from my testsuite that uses lit and FileCheck with FileCheck replaced by filecheck.
But I have an example input for which the behavior of filecheck deviates from the behavior of FileCheck from LLVM 17 (more concretely, the build from the Ubuntu 22.04 package).
Consider a file output with the following content
ax
x, x,
x,
and a file check-input with the following content
//CHECK: ax
//CHECK-NEXT: x, x,
//CHECK: x,
Running cat output | FileCheck-17 input succeeds without output and with exit code 0.
With filecheck, I get this result:
$ cat output | filecheck input
input:3: error: Couldn't match "x,".Current position at <stdin>:3:1^
The error goes away if I turn the CHECK-NEXT into a CHECK or if I remove a , at the end of one of the two lines (in both files).
The text was updated successfully, but these errors were encountered:
This fixes a bug where `x x` would be translated to `x\s+x`, which is
subtly wrong as `\s` allows newline matching. The more correct way is
`x[ \t\v]+x`, which it now is with this patch.
Fixes#37
I can run most tests from my testsuite that uses
lit
andFileCheck
withFileCheck
replaced byfilecheck
.But I have an example input for which the behavior of
filecheck
deviates from the behavior ofFileCheck
from LLVM 17 (more concretely, the build from the Ubuntu 22.04 package).Consider a file
output
with the following contentand a file
check-input
with the following contentRunning
cat output | FileCheck-17 input
succeeds without output and with exit code0
.With
filecheck
, I get this result:The error goes away if I turn the
CHECK-NEXT
into aCHECK
or if I remove a,
at the end of one of the two lines (in both files).The text was updated successfully, but these errors were encountered: