aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/magefile.go b/magefile.go
index 677c59d2c..ce2cd41ea 100644
--- a/magefile.go
+++ b/magefile.go
@@ -167,19 +167,19 @@ func testGoFlags() string {
// Note that we don't run with the extended tag. Currently not supported in 32 bit.
func Test386() error {
env := map[string]string{"GOARCH": "386", "GOFLAGS": testGoFlags()}
- return runCmd(env, goexe, "test", "./...")
+ return runCmd(env, goexe, "test", "-p", "2", "./...")
}
// Run tests
func Test() error {
env := map[string]string{"GOFLAGS": testGoFlags()}
- return runCmd(env, goexe, "test", "./...", "-tags", buildTags())
+ return runCmd(env, goexe, "test", "-p", "2", "./...", "-tags", buildTags())
}
// Run tests with race detector
func TestRace() error {
env := map[string]string{"GOFLAGS": testGoFlags()}
- return runCmd(env, goexe, "test", "-race", "./...", "-tags", buildTags())
+ return runCmd(env, goexe, "test", "-p", "2", "-race", "./...", "-tags", buildTags())
}
// Run gofmt linter