diff options
author | Pavel Labath <labath@google.com> | 2017-05-15 16:25:28 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-05-15 16:25:28 +0000 |
commit | b5c2a2d9599a4ff2891d264a4ee415e2448924c5 (patch) | |
tree | 688fd6a2b97a0b88ae3ac313f4ade146d4fc2d31 /lldb/packages/Python/lldbsuite/test | |
parent | 04bf953de4a12ead16112b4cea3111806199de02 (diff) | |
download | bcm5719-llvm-b5c2a2d9599a4ff2891d264a4ee415e2448924c5.tar.gz bcm5719-llvm-b5c2a2d9599a4ff2891d264a4ee415e2448924c5.zip |
Disable a test in TestReturnValue on arm64 linux
as described in pr33042, we cannot reliably retrieve the return value on
arm64 in cases it is returned via x8 pointer. I tried to do this as
surgically as possible and disabled it only on targets I know to be
affected, as the code is still useful, even though it can only work on
best-effort basis.
llvm-svn: 303076
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py index 90562f52a4b..e476c48d184 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py @@ -18,6 +18,10 @@ class ReturnValueTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) + def affected_by_pr33042(self): + return ("clang" in self.getCompiler() and self.getArchitecture() == + "aarch64" and self.getPlatform() == "linux") + @expectedFailureAll(oslist=["freebsd"], archs=["i386"]) @expectedFailureAll(oslist=["macosx"], archs=["i386"], bugnumber="<rdar://problem/28719652>") @expectedFailureAll( @@ -148,7 +152,8 @@ class ReturnValueTestCase(TestBase): self.return_and_test_struct_value("return_two_int") self.return_and_test_struct_value("return_three_int") self.return_and_test_struct_value("return_four_int") - self.return_and_test_struct_value("return_five_int") + if not self.affected_by_pr33042(): + self.return_and_test_struct_value("return_five_int") self.return_and_test_struct_value("return_two_double") self.return_and_test_struct_value("return_one_double_two_float") |