@@ -44,7 +44,7 @@ def isTestSupported(self):
44
44
return False
45
45
46
46
@skipIfWindows
47
- @skipIf (archs = no_match (["x86_64" ]))
47
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
48
48
def test_runInTerminal (self ):
49
49
if not self .isTestSupported ():
50
50
return
@@ -90,7 +90,7 @@ def test_runInTerminal(self):
90
90
env = self .dap_server .request_evaluate ("foo" )["body" ]["result" ]
91
91
self .assertIn ("bar" , env )
92
92
93
- @skipIf (archs = no_match (["x86_64" ]))
93
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
94
94
def test_runInTerminalWithObjectEnv (self ):
95
95
if not self .isTestSupported ():
96
96
return
@@ -114,7 +114,7 @@ def test_runInTerminalWithObjectEnv(self):
114
114
self .assertEqual ("BAR" , request_envs ["FOO" ])
115
115
116
116
@skipIfWindows
117
- @skipIf (archs = no_match (["x86_64" ]))
117
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
118
118
def test_runInTerminalInvalidTarget (self ):
119
119
if not self .isTestSupported ():
120
120
return
@@ -133,7 +133,7 @@ def test_runInTerminalInvalidTarget(self):
133
133
)
134
134
135
135
@skipIfWindows
136
- @skipIf (archs = no_match (["x86_64" ]))
136
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
137
137
def test_missingArgInRunInTerminalLauncher (self ):
138
138
if not self .isTestSupported ():
139
139
return
@@ -148,7 +148,7 @@ def test_missingArgInRunInTerminalLauncher(self):
148
148
)
149
149
150
150
@skipIfWindows
151
- @skipIf (archs = no_match (["x86_64" ]))
151
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
152
152
def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram (self ):
153
153
if not self .isTestSupported ():
154
154
return
@@ -175,7 +175,7 @@ def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram(self):
175
175
self .assertIn ("No such file or directory" , stderr )
176
176
177
177
@skipIfWindows
178
- @skipIf (archs = no_match (["x86_64" ]))
178
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
179
179
def test_FakeAttachedRunInTerminalLauncherWithValidProgram (self ):
180
180
if not self .isTestSupported ():
181
181
return
@@ -202,7 +202,7 @@ def test_FakeAttachedRunInTerminalLauncherWithValidProgram(self):
202
202
self .assertIn ("foo" , stdout )
203
203
204
204
@skipIfWindows
205
- @skipIf (archs = no_match (["x86_64" ]))
205
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
206
206
def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment (self ):
207
207
if not self .isTestSupported ():
208
208
return
@@ -223,7 +223,7 @@ def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment(self):
223
223
self .assertIn ("FOO=BAR" , stdout )
224
224
225
225
@skipIfWindows
226
- @skipIf (archs = no_match (["x86_64" ]))
226
+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
227
227
def test_NonAttachedRunInTerminalLauncher (self ):
228
228
if not self .isTestSupported ():
229
229
return
0 commit comments