build: Use purego build tag on tests

This commit is contained in:
Jakob Borg 2016-06-02 16:39:17 +02:00
parent 0e996c4664
commit 8ac862f50a

View File

@ -339,9 +339,9 @@ func test(pkgs ...string) {
} }
if useRace { if useRace {
runPrint("go", append([]string{"test", "-short", "-race", "-timeout", "60s"}, pkgs...)...) runPrint("go", append([]string{"test", "-short", "-race", "-timeout", "60s", "-tags", "purego"}, pkgs...)...)
} else { } else {
runPrint("go", append([]string{"test", "-short", "-timeout", "60s"}, pkgs...)...) runPrint("go", append([]string{"test", "-short", "-timeout", "60s", "-tags", "purego"}, pkgs...)...)
} }
} }