aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-22 00:53:17 +0900
committerOphestra <cat@gensokyo.uk>2026-06-22 00:53:17 +0900
commit1348991634ca451a21d7eaf6bc8c23a2e4b7736a (patch)
tree2c0129a058306c90de5a30a4653a310daf7aca97
parent14b445fde52e6eb24148051d671f3cb9fa7f8625 (diff)
internal/rosa/meson: skip specific test suites
For disabling specific broken or flaky tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/meson.go5
-rw-r--r--internal/rosa/state.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go
index 4281e1f9..525dd62b 100644
--- a/internal/rosa/meson.go
+++ b/internal/rosa/meson.go
@@ -18,6 +18,8 @@ type MesonHelper struct {
// Flags passed to the setup command.
Setup []KV
+ // Test suites to skip.
+ SkipTests []string
// Whether to skip meson test.
SkipTest bool
// Run tests with interactive input/output.
@@ -61,6 +63,9 @@ meson test \
scriptTest += ` \
--interactive`
}
+ for _, suite := range attr.SkipTests {
+ scriptTest += " \\\n\t--no-suite='" + suite + "'"
+ }
}
return `
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index 48f3e897..d455149c 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -880,6 +880,7 @@ func (s *S) getFrame() azalea.Frame {
k("postInstall"): &attr.Script,
k("setup"): &attr.Setup,
k("skipTest"): &attr.SkipTest,
+ k("skipTests"): &attr.SkipTests,
k("interactiveTest"): &attr.InteractiveTest,
}); err != nil {
return