test-runner: Fix printing on windows
Colors were not being escaped properly for windows (which has special non-ANSI color code handling) Change-Id: I03c34b1205b26b1192af9c05162bbe03035172bd Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56500 Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
e6cb51e715
commit
288c8ad32e
|
@ -323,7 +323,7 @@ func run() error {
|
|||
}
|
||||
|
||||
if verbose || !rowAllPassed {
|
||||
fmt.Println(row)
|
||||
fmt.Fprintln(color.Output, row)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -350,7 +350,7 @@ func run() error {
|
|||
}
|
||||
col.Printf(alignRight(name, filenameColumnWidth))
|
||||
fmt.Printf(" ┃ ")
|
||||
fmt.Println(row)
|
||||
fmt.Fprintln(color.Output, row)
|
||||
|
||||
col.Printf(strings.Repeat(" ", filenameColumnWidth))
|
||||
fmt.Printf(" ┃ ")
|
||||
|
|
Loading…
Reference in New Issue