Skip to content

Commit b92da03

Browse files
committed
Slightly post-process output.
1 parent a8b6164 commit b92da03

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/FileCheck.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ function filecheck(f, input;
9393
reader = Threads.@spawn String(read(filecheck_io))
9494
Base.wait(proc)
9595
log = strip(fetch(reader))
96-
isempty(log) || println(stderr, log)
96+
if !isempty(log)
97+
log = replace(log, path => "<checks>")
98+
log = replace(log, "<stdin>" => "<output>")
99+
println(stderr, log)
100+
end
97101

98102
return success(proc)
99103
end

0 commit comments

Comments
 (0)