ensure tests fail when parsing test output fails (#1914)
This commit is contained in:
parent
89c5e70003
commit
964b4af53e
@ -41,8 +41,10 @@ func main() {
|
|||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(os.Stderr, "tparse error: %v\n\n", err)
|
fmt.Fprintf(os.Stderr, "tparse error: %v\n\n", err)
|
||||||
}
|
}
|
||||||
|
defer os.Exit(1)
|
||||||
|
} else {
|
||||||
|
defer os.Exit(pkgs.ExitCode())
|
||||||
}
|
}
|
||||||
defer os.Exit(pkgs.ExitCode())
|
|
||||||
|
|
||||||
output, err := os.Create(*xunit)
|
output, err := os.Create(*xunit)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user