diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-05-29 13:23:36 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-05-30 11:29:21 +0200 |
commit | 245928a1ff49c6a1c25524f08bf538b0ab88f1a8 (patch) | |
tree | 1fa4d9ffe812f4f78eebc43f114b3dcc2b0442a0 /magefile.go | |
parent | 519f41dbd72d4b13208225ab5b28c6d98ecb07ba (diff) | |
download | hugo-245928a1ff49c6a1c25524f08bf538b0ab88f1a8.tar.gz hugo-245928a1ff49c6a1c25524f08bf538b0ab88f1a8.zip |
content adapter: Add support for menus in AddPage
Fixes #12507
Diffstat (limited to 'magefile.go')
-rw-r--r-- | magefile.go | 6 |
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 |