aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-19 01:07:20 +0900
committerOphestra <cat@gensokyo.uk>2026-04-19 01:07:20 +0900
commit5647c3a91fb3f116235d866c5ab8af07dd91e3a4 (patch)
tree3ce0ca90bcd470949f88af7f79647577fd5f097d
parent992139c75d5ee2b66bc71a832a6675e53f917b3b (diff)
internal/rosa/meson: run meson test suite
Tests requiring internet access or unreasonable dependencies are removed. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/meson.go33
1 files changed, 32 insertions, 1 deletions
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() {