Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/FileCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def dump_check(check):
print(current_check.source_line.rstrip())
print(" ^")
print("<stdin>:?:?: note: scanning from here")
print("TODO")
print(current_line)
print("^")
print("<stdin>:?:?: note: possible intended match here")
print("TODO")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
; RUN: cat %S/filecheck.input | (%FILECHECK_EXEC %S/filecheck.check 2>&1 || true) | %FILECHECK_TESTER_EXEC %s
; CHECK: {{^.*}}FileCheck
; CHECK {{.*}}filecheck.check:1:.*: error: CHECK: expected string not found in input{{$}}
; CHECK {{^}}; CHECK: foo{{$}}
; CHECK {{^}} ^{{$}}
; CHECK {{^}}<stdin>:.*:.*: note: scanning from here{{$}}
; CHECK {{^}}hello{{$}}
; CHECK {{^}}^{{$}}
; CHECK {{^}}<stdin>:.*:.*: note: possible intended match here{{$}}
; CHECK {{^}}hello{{$}}
; CHECK: {{^}} ^{{$}}
; CHECK: {{.*}}filecheck.check:1:10: error: CHECK: expected string not found in input{{$}}
; CHECK: {{^}}; CHECK: foo{{$}}
; CHECK: {{^}} ^{{$}}
; CHECK: {{^<stdin>:.*:.*: note: scanning from here$}}
; CHECK: {{^}}hello{{$}}
; CHECK: {{^}}^{{$}}
; CHECK: {{^<stdin>:.*:.*: note: possible intended match here$}}
; CHECK: {{^.*$}}
; CHECK: {{^.*$}}
; CHECK-EMPTY