aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/meson.go
diff options
context:
space:
mode:
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 `