internal/rosa/gnu: fix test suite flags
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m38s
Test / Hakurei (push) Successful in 3m53s
Test / ShareFS (push) Successful in 4m4s
Test / Hpkg (push) Successful in 4m31s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 5m58s
Test / Flake checks (push) Successful in 1m40s

This sets the correct flag and also avoids changing ident per system.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-05 18:27:42 +09:00
parent d77ad3bb6e
commit 9b751de078

View File

@@ -1,11 +1,6 @@
package rosa package rosa
import ( import "hakurei.app/internal/pkg"
"runtime"
"strconv"
"hakurei.app/internal/pkg"
)
func (t Toolchain) newM4() pkg.Artifact { func (t Toolchain) newM4() pkg.Artifact {
const ( const (
@@ -53,9 +48,10 @@ func (t Toolchain) newAutoconf() pkg.Artifact {
mustDecode(checksum), mustDecode(checksum),
pkg.TarGzip, pkg.TarGzip,
), &MakeAttr{ ), &MakeAttr{
Env: []string{ Make: []string{
"TESTSUITEFLAGS=" + strconv.Itoa(runtime.NumCPU()), `TESTSUITEFLAGS="-j$(nproc)"`,
}, },
Flag: TExclusive,
}, },
t.Load(M4), t.Load(M4),
t.Load(Perl), t.Load(Perl),
@@ -109,8 +105,8 @@ func (t Toolchain) newLibtool() pkg.Artifact {
mustDecode(checksum), mustDecode(checksum),
pkg.TarGzip, pkg.TarGzip,
), &MakeAttr{ ), &MakeAttr{
Env: []string{ Make: []string{
"TESTSUITEFLAGS=" + strconv.Itoa(runtime.NumCPU()), `TESTSUITEFLAGS=32`,
}, },
}, },
t.Load(M4), t.Load(M4),