diff --git a/testing/run_tests.py b/testing/run_tests.py index 1c12894c0ded8..ba8fcd4263876 100755 --- a/testing/run_tests.py +++ b/testing/run_tests.py @@ -297,12 +297,13 @@ def EnsureDebugUnoptSkyPackagesAreBuilt(): def EnsureIosTestsAreBuilt(ios_out_dir): """Builds the engine variant and the test dylib containing the XCTests""" tmp_out_dir = os.path.join(out_dir, ios_out_dir) + ios_test_lib = os.path.join(tmp_out_dir, 'libios_test_flutter.dylib') message = [] message.append('gn --ios --unoptimized --runtime-mode=debug --no-lto --simulator') message.append('autoninja -C %s ios_test_flutter' % ios_out_dir) - final_message = '%s doesn\'t exist. Please run the following commands: \n%s' % ( - ios_out_dir, '\n'.join(message)) - assert os.path.exists(tmp_out_dir), final_message + final_message = '%s or %s doesn\'t exist. Please run the following commands: \n%s' % ( + ios_out_dir, ios_test_lib, '\n'.join(message)) + assert os.path.exists(tmp_out_dir) and os.path.exists(ios_test_lib), final_message def AssertExpectedXcodeVersion():