Skip to content

Commit c9fff13

Browse files
committed
skip exp mcp test on non-linux
1 parent 19a504c commit c9fff13

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cli/exp_mcp_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package cli_test
33
import (
44
"context"
55
"encoding/json"
6+
"runtime"
67
"slices"
78
"testing"
89

@@ -18,6 +19,11 @@ import (
1819
func TestExpMcp(t *testing.T) {
1920
t.Parallel()
2021

22+
// Reading to / writing from the PTY is flaky on non-linux systems.
23+
if runtime.GOOS != "linux" {
24+
t.Skip("skipping on non-linux")
25+
}
26+
2127
t.Run("AllowedTools", func(t *testing.T) {
2228
t.Parallel()
2329

0 commit comments

Comments
 (0)