We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0127f0e commit 76382d5Copy full SHA for 76382d5
testing/run_tests.py
@@ -327,12 +327,11 @@ def AssertExpectedJavaVersion():
327
328
329
def AssertExpectedXcodeVersion():
330
- """Checks that the user has a recent version of Xcode installed"""
331
- EXPECTED_MAJOR_VERSION = ['11', '12']
+ """Checks that the user has a version of Xcode installed"""
332
version_output = subprocess.check_output(['xcodebuild', '-version'])
333
- match = re.match("Xcode (\d+)", version_output)
+ match = re.match(b"Xcode (\d+)", version_output)
334
message = "Xcode must be installed to run the iOS embedding unit tests"
335
- assert match.group(1) in EXPECTED_MAJOR_VERSION, message
+ assert match, message
336
337
338
def RunJavaTests(filter, android_variant='android_debug_unopt'):
0 commit comments