Print PASS on pass when running standalone test binaries (#3229)

* Add test.batch flag so standalone tests print PASS on pass
* Add comment; use single-dash flag style to match usage elsewhere
* Don't add test.batch for wasmtime
* Skip test.batch unless emulator name is blank
* Remove test.batch flag; buffer test output and show only on verbose or failure
* Remove FAIL when all tests fail to match go test output
This commit is contained in:
Fred Goya
2022-10-19 00:46:43 -07:00
committed by GitHub
parent 5937f03a07
commit b734b3c7a1
2 changed files with 7 additions and 5 deletions
+1 -3
View File
@@ -449,9 +449,7 @@ func (m *M) Run() (code int) {
fmt.Println("FAIL")
m.exitCode = 1
} else {
if flagVerbose {
fmt.Println("PASS")
}
fmt.Println("PASS")
m.exitCode = 0
}
return