Skip to content

Commit 33c3f18

Browse files
committed
Write to stdout when coverage information is written.
1 parent be407a8 commit 33c3f18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tla/StatsFile.tla

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ WriteStatsFile ==
2020
SerialiseCoverageConstraint ==
2121
LET interval == 500000
2222
IN IF TLCGet("distinct") % interval = 0
23-
THEN Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>])
23+
THEN /\ Serialize(<<TLCGet("spec")>>, CoverageFilename, [format |-> "NDJSON", charset |-> "UTF-8", openOptions |-> <<"WRITE", "CREATE", "APPEND">>])
24+
/\ PrintT("Writing stats to file: " \o CoverageFilename)
2425
ELSE TRUE
2526

2627
====

0 commit comments

Comments
 (0)