projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfca005
)
[test] Fix apple_simulator_test decorator when simulators are unavailable
author
Alex Langford
<apl@fb.com>
Wed, 6 Nov 2019 23:12:31 +0000
(15:12 -0800)
committer
Alex Langford
<apl@fb.com>
Wed, 6 Nov 2019 23:14:01 +0000
(15:14 -0800)
In the case where xcodebuild fails as you set up simulator tests, you
would fail because `feature` is never defined.
lldb/packages/Python/lldbsuite/test/decorators.py
patch
|
blob
|
history
diff --git
a/lldb/packages/Python/lldbsuite/test/decorators.py
b/lldb/packages/Python/lldbsuite/test/decorators.py
index
2816cb7
..
10f5232
100644
(file)
--- 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)