@@ -191,9 +191,9 @@ def test(self):
191191 'build_watchos_device' )
192192 test_should_skip_building_watchos_sim = \
193193 generate_should_skip_building_platform (
194- 'watchsimulator-i386 ' ,
194+ 'watchsimulator-x86_64 ' ,
195195 'WATCHOS_SIMULATOR' ,
196- 'swift-test-stdlib-watchsimulator-i386 ' ,
196+ 'swift-test-stdlib-watchsimulator-x86_64 ' ,
197197 'build_watchos_simulator' )
198198
199199 def generate_should_build_full_targets_when_test (test_arg_name ):
@@ -233,7 +233,7 @@ def test(self):
233233 'stress_test' )
234234
235235 def generate_should_skip_testing_platform (
236- host_target , build_arg_name , test_arg_name ):
236+ host_target , build_arg_name , test_arg_name , extra_test_arg_name = None ):
237237 def test (self ):
238238 args = self .default_args ()
239239 setattr (args , build_arg_name , True )
@@ -245,6 +245,8 @@ def test(self):
245245 self .assertEqual (len (before .swift_test_run_targets ), 0 )
246246
247247 setattr (args , test_arg_name , True )
248+ if extra_test_arg_name is not None :
249+ setattr (args , extra_test_arg_name , True )
248250 after = HostSpecificConfiguration (host_target , args )
249251 self .assertIn ('check-swift-{}' .format (host_target ),
250252 after .swift_test_run_targets )
@@ -290,27 +292,10 @@ def test(self):
290292 # NOTE: test_watchos_host is not supported in open-source Swift
291293 test_should_skip_testing_watchos_sim = \
292294 generate_should_skip_testing_platform (
293- 'watchsimulator-i386 ' ,
295+ 'watchsimulator-x86_64 ' ,
294296 'build_watchos_simulator' ,
295- 'test_watchos_simulator' )
296-
297- def test_should_skip_testing_32bit_watchos (self ):
298- host_target = 'watchsimulator-i386'
299- args = self .default_args ()
300- args .build_watchos_simulator = True
301- args .test_watchos_simulator = True
302- args .test_watchos_32bit_simulator = False
303- args .host_target = host_target
304- args .stdlib_deployment_targets = [host_target ]
305- args .build_stdlib_deployment_targets = 'all'
306-
307- before = HostSpecificConfiguration (host_target , args )
308- self .assertEqual (len (before .swift_test_run_targets ), 0 )
309-
310- args .test_watchos_32bit_simulator = True
311- after = HostSpecificConfiguration (host_target , args )
312- self .assertIn ('check-swift-watchsimulator-i386' ,
313- after .swift_test_run_targets )
297+ 'test_watchos_simulator' ,
298+ 'test_watchos_64bit_simulator' )
314299
315300 def generate_should_allow_testing_only_host (
316301 host_target , build_arg_name , test_arg_name , host_test_arg_name ):
@@ -681,7 +666,6 @@ def default_args(self):
681666 test_freebsd = False ,
682667 test_ios_host = False ,
683668 test_ios_simulator = False ,
684- test_watchos_32bit_simulator = True ,
685669 test_linux = False ,
686670 test_optimize_for_size = False ,
687671 test_optimize_none_with_implicit_dynamic = False ,
0 commit comments