Skip to content
Snippets Groups Projects
Commit a6b5daa7 authored by Alex Langford's avatar Alex Langford
Browse files

[test] Fix apple_simulator_test decorator when simulators are unavailable

In the case where xcodebuild fails as you set up simulator tests, you
would fail because `feature` is never defined.
parent cfca0056
No related branches found
No related tags found
No related merge requests found
......@@ -364,7 +364,7 @@ def apple_simulator_test(platform):
else:
return "%s simulator is not supported on this system." % platform
except subprocess.CalledProcessError:
return "%s is not supported on this system (xcodebuild failed)." % feature
return "Simulators are unsupported on this system (xcodebuild failed)"
return skipTestIfFn(should_skip_simulator_test)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment