Tests should be run with -race

This commit is contained in:
Jakob Borg
2015-10-14 14:30:35 +09:00
parent 2b56961b54
commit cc1387ec0c
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ func setup() {
func test(pkg string) {
setBuildEnv()
runPrint("go", "test", "-short", "-timeout", "60s", pkg)
runPrint("go", "test", "-short", "-race", "-timeout", "60s", pkg)
}
func bench(pkg string) {