SRFI-64: Make the log file's port line-buffered.
* srfi/srfi-64.upstream.scm (test-on-group-begin-simple): Make LOG-FILE line-buffered.master
parent
bbb76f6f71
commit
c5a855c481
|
@ -314,7 +314,9 @@
|
||||||
(guile-2
|
(guile-2
|
||||||
(with-fluids ((%default-port-encoding
|
(with-fluids ((%default-port-encoding
|
||||||
"UTF-8"))
|
"UTF-8"))
|
||||||
(open-output-file log-file-name)))
|
(let ((p (open-output-file log-file-name)))
|
||||||
|
(setvbuf p _IOLBF)
|
||||||
|
p)))
|
||||||
(else (open-output-file log-file-name)))))
|
(else (open-output-file log-file-name)))))
|
||||||
(display "%%%% Starting test " log-file)
|
(display "%%%% Starting test " log-file)
|
||||||
(display suite-name log-file)
|
(display suite-name log-file)
|
||||||
|
|
Reference in New Issue