@@ -191,9 +191,9 @@ def test(self):
191
191
'build_watchos_device' )
192
192
test_should_skip_building_watchos_sim = \
193
193
generate_should_skip_building_platform (
194
- 'watchsimulator-i386 ' ,
194
+ 'watchsimulator-x86_64 ' ,
195
195
'WATCHOS_SIMULATOR' ,
196
- 'swift-test-stdlib-watchsimulator-i386 ' ,
196
+ 'swift-test-stdlib-watchsimulator-x86_64 ' ,
197
197
'build_watchos_simulator' )
198
198
199
199
def generate_should_build_full_targets_when_test (test_arg_name ):
@@ -233,7 +233,7 @@ def test(self):
233
233
'stress_test' )
234
234
235
235
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 ):
237
237
def test (self ):
238
238
args = self .default_args ()
239
239
setattr (args , build_arg_name , True )
@@ -245,6 +245,8 @@ def test(self):
245
245
self .assertEqual (len (before .swift_test_run_targets ), 0 )
246
246
247
247
setattr (args , test_arg_name , True )
248
+ if extra_test_arg_name is not None :
249
+ setattr (args , extra_test_arg_name , True )
248
250
after = HostSpecificConfiguration (host_target , args )
249
251
self .assertIn ('check-swift-{}' .format (host_target ),
250
252
after .swift_test_run_targets )
@@ -290,27 +292,10 @@ def test(self):
290
292
# NOTE: test_watchos_host is not supported in open-source Swift
291
293
test_should_skip_testing_watchos_sim = \
292
294
generate_should_skip_testing_platform (
293
- 'watchsimulator-i386 ' ,
295
+ 'watchsimulator-x86_64 ' ,
294
296
'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' )
314
299
315
300
def generate_should_allow_testing_only_host (
316
301
host_target , build_arg_name , test_arg_name , host_test_arg_name ):
@@ -681,7 +666,6 @@ def default_args(self):
681
666
test_freebsd = False ,
682
667
test_ios_host = False ,
683
668
test_ios_simulator = False ,
684
- test_watchos_32bit_simulator = True ,
685
669
test_linux = False ,
686
670
test_optimize_for_size = False ,
687
671
test_optimize_none_with_implicit_dynamic = False ,
0 commit comments