Skip to content

Commit e28f4b4

Browse files
committed
tests/run: Display unexpected okay tests even without verbose flag.
This is better behavior, and more consistent. Currently, a failed test will display its output without -verbose flag. Similarly, unexpected okay tests should be displayed. Otherwise it's not possible to know which test was unexpected okay.
1 parent 24a7ce5 commit e28f4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func main() {
242242
errStr, test.goFileName(), dt)
243243
continue
244244
}
245-
if !*verbose {
245+
if !*verbose && status != "unok" {
246246
continue
247247
}
248248
fmt.Printf("%s\t%s\t%s\n", status, test.goFileName(), dt)

0 commit comments

Comments
 (0)