aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/meson.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-27 12:00:13 +0900
committerOphestra <cat@gensokyo.uk>2026-05-27 12:00:13 +0900
commit7816f8b523eae98a30a088732626cb0ae1084cb9 (patch)
tree3f8eddfc405674bd3c0a1f55ba8e46386a16789b /internal/rosa/meson.go
parent91e4229e32272c36086e07cc302f4025f4387c7a (diff)
internal/rosa/package: cairo
Required by sway, which is required by vm test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/meson.go')
-rw-r--r--internal/rosa/meson.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go
index 003b32cd..4281e1f9 100644
--- a/internal/rosa/meson.go
+++ b/internal/rosa/meson.go
@@ -20,6 +20,8 @@ type MesonHelper struct {
Setup []KV
// Whether to skip meson test.
SkipTest bool
+ // Run tests with interactive input/output.
+ InteractiveTest bool
}
var _ Helper = new(MesonHelper)
@@ -55,6 +57,10 @@ func (attr *MesonHelper) script(t Toolchain, name string) string {
scriptTest = `
meson test \
--print-errorlogs`
+ if attr.InteractiveTest {
+ scriptTest += ` \
+ --interactive`
+ }
}
return `