1
0
forked from rosa/hakurei

internal/rosa/meson: run meson test suite

Tests requiring internet access or unreasonable dependencies are removed.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-19 01:07:20 +09:00
parent 992139c75d
commit 5647c3a91f

View File

@@ -16,8 +16,39 @@ func (t Toolchain) newMeson() (pkg.Artifact, string) {
"mesonbuild/meson",
version,
checksum,
), nil, (*PipHelper)(nil),
), &PackageAttr{
Env: []string{
"CMAKE_MAKE_PROGRAM=ninja",
},
}, &PipHelper{
EnterSource: true,
Script: `
cd 'test cases'
rm -rf \
'common/32 has header' \
'common/66 vcstag' \
'common/153 wrap file should not failed' \
'common/184 openmp' \
'common/189 check header' \
'linuxlike/6 subdir include order' \
'linuxlike/9 compiler checks with dependencies' \
'linuxlike/13 cmake dependency' \
'frameworks/15 llvm' \
'frameworks/29 blocks'
cd ..
python3 ./run_project_tests.py \
-v \
` + jobsFlagE + ` \
--failfast \
--backend=ninja
`,
},
Setuptools,
PkgConfig,
CMake,
Ninja,
PythonPyTest,
), version
}
func init() {