From 5647c3a91fb3f116235d866c5ab8af07dd91e3a4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Apr 2026 01:07:20 +0900 Subject: [PATCH] internal/rosa/meson: run meson test suite Tests requiring internet access or unreasonable dependencies are removed. Signed-off-by: Ophestra --- internal/rosa/meson.go | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index bf0d4161..163a0deb 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -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() {