diff options
author | Alex Langford <apl@fb.com> | 2019-11-06 15:12:31 -0800 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2019-11-06 15:14:01 -0800 |
commit | a6b5daa701d3a276ace90c688f913b96d396bed1 (patch) | |
tree | d74a852217e940c6b0886d634476a0e5fae2d689 | |
parent | cfca0056f054602dd46d1224c63d2275a4ecd90f (diff) | |
download | bcm5719-llvm-a6b5daa701d3a276ace90c688f913b96d396bed1.tar.gz bcm5719-llvm-a6b5daa701d3a276ace90c688f913b96d396bed1.zip |
[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.
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index 2816cb7e39a..10f52325875 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -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) |