@@ -44,7 +44,7 @@ def isTestSupported(self):
4444 return False
4545
4646 @skipIfWindows
47- @skipIf (archs = no_match (["x86_64" ]))
47+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
4848 def test_runInTerminal (self ):
4949 if not self .isTestSupported ():
5050 return
@@ -90,7 +90,7 @@ def test_runInTerminal(self):
9090 env = self .dap_server .request_evaluate ("foo" )["body" ]["result" ]
9191 self .assertIn ("bar" , env )
9292
93- @skipIf (archs = no_match (["x86_64" ]))
93+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
9494 def test_runInTerminalWithObjectEnv (self ):
9595 if not self .isTestSupported ():
9696 return
@@ -114,7 +114,7 @@ def test_runInTerminalWithObjectEnv(self):
114114 self .assertEqual ("BAR" , request_envs ["FOO" ])
115115
116116 @skipIfWindows
117- @skipIf (archs = no_match (["x86_64" ]))
117+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
118118 def test_runInTerminalInvalidTarget (self ):
119119 if not self .isTestSupported ():
120120 return
@@ -133,7 +133,7 @@ def test_runInTerminalInvalidTarget(self):
133133 )
134134
135135 @skipIfWindows
136- @skipIf (archs = no_match (["x86_64" ]))
136+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
137137 def test_missingArgInRunInTerminalLauncher (self ):
138138 if not self .isTestSupported ():
139139 return
@@ -148,7 +148,7 @@ def test_missingArgInRunInTerminalLauncher(self):
148148 )
149149
150150 @skipIfWindows
151- @skipIf (archs = no_match (["x86_64" ]))
151+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
152152 def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram (self ):
153153 if not self .isTestSupported ():
154154 return
@@ -175,7 +175,7 @@ def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram(self):
175175 self .assertIn ("No such file or directory" , stderr )
176176
177177 @skipIfWindows
178- @skipIf (archs = no_match (["x86_64" ]))
178+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
179179 def test_FakeAttachedRunInTerminalLauncherWithValidProgram (self ):
180180 if not self .isTestSupported ():
181181 return
@@ -202,7 +202,7 @@ def test_FakeAttachedRunInTerminalLauncherWithValidProgram(self):
202202 self .assertIn ("foo" , stdout )
203203
204204 @skipIfWindows
205- @skipIf (archs = no_match (["x86_64" ]))
205+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
206206 def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment (self ):
207207 if not self .isTestSupported ():
208208 return
@@ -223,7 +223,7 @@ def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment(self):
223223 self .assertIn ("FOO=BAR" , stdout )
224224
225225 @skipIfWindows
226- @skipIf (archs = no_match (["x86_64" ]))
226+ @skipIf (oslist = [ "linux" ], archs = no_match (["x86_64" ]))
227227 def test_NonAttachedRunInTerminalLauncher (self ):
228228 if not self .isTestSupported ():
229229 return
0 commit comments