File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,12 +297,13 @@ def EnsureDebugUnoptSkyPackagesAreBuilt():
297297def EnsureIosTestsAreBuilt (ios_out_dir ):
298298 """Builds the engine variant and the test dylib containing the XCTests"""
299299 tmp_out_dir = os .path .join (out_dir , ios_out_dir )
300+ ios_test_lib = os .path .join (tmp_out_dir , 'libios_test_flutter.dylib' )
300301 message = []
301302 message .append ('gn --ios --unoptimized --runtime-mode=debug --no-lto --simulator' )
302303 message .append ('autoninja -C %s ios_test_flutter' % ios_out_dir )
303- final_message = '%s doesn\' t exist. Please run the following commands: \n %s' % (
304- ios_out_dir , '\n ' .join (message ))
305- assert os .path .exists (tmp_out_dir ), final_message
304+ final_message = '%s or %s doesn\' t exist. Please run the following commands: \n %s' % (
305+ ios_out_dir , ios_test_lib , '\n ' .join (message ))
306+ assert os .path .exists (tmp_out_dir ) and os . path . exists ( ios_test_lib ) , final_message
306307
307308
308309def AssertExpectedXcodeVersion ():
You can’t perform that action at this time.
0 commit comments