diff options
author | Greg Clayton <gclayton@apple.com> | 2012-12-12 01:15:30 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-12-12 01:15:30 +0000 |
commit | 89deb06bbbf5685690f968794d2e98ceabd6cb25 (patch) | |
tree | d09f68025dc8bebe8e1bcb510fc62f8745e9ad3e /lldb/test/warnings | |
parent | 82751a105c2217ce1383739c96ece0fc44606b70 (diff) | |
download | bcm5719-llvm-89deb06bbbf5685690f968794d2e98ceabd6cb25.tar.gz bcm5719-llvm-89deb06bbbf5685690f968794d2e98ceabd6cb25.zip |
<rdar://problem/12780507>
Fix add-dsym ("target symbols add") to correctly add a dSYM file when the target arch doesn't match the arch of the module.
llvm-svn: 169952
Diffstat (limited to 'lldb/test/warnings')
-rw-r--r-- | lldb/test/warnings/uuid/TestAddDsymCommand.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lldb/test/warnings/uuid/TestAddDsymCommand.py b/lldb/test/warnings/uuid/TestAddDsymCommand.py index a9bb1853a88..e697f842e6d 100644 --- a/lldb/test/warnings/uuid/TestAddDsymCommand.py +++ b/lldb/test/warnings/uuid/TestAddDsymCommand.py @@ -81,7 +81,7 @@ class AddDsymCommandCase(TestBase): right_path = os.path.join("%s.dSYM" % exe_name, "Contents", "Resources", "DWARF", exe_name) self.expect("add-dsym " + right_path, error=True, - substrs = ['symbol file', 'with UUID', 'does not match']) + substrs = ['symbol file', 'does not match']) def do_add_dsym_with_success(self, exe_name): """Test that the 'add-dsym' command informs the user about success.""" @@ -90,8 +90,7 @@ class AddDsymCommandCase(TestBase): # This time, the UUID should match and we expect some feedback from lldb. right_path = os.path.join("%s.dSYM" % exe_name, "Contents", "Resources", "DWARF", exe_name) self.expect("add-dsym " + right_path, - substrs = ['symbol file', 'with UUID', 'has been successfully added to the', - 'module']) + substrs = ['symbol file', 'has been added to']) def do_add_dsym_with_dSYM_bundle(self, exe_name): """Test that the 'add-dsym' command informs the user about success when loading files in bundles.""" @@ -100,8 +99,7 @@ class AddDsymCommandCase(TestBase): # This time, the UUID should be found inside the bundle right_path = "%s.dSYM" % exe_name self.expect("add-dsym " + right_path, - substrs = ['symbol file', 'with UUID', 'has been successfully added to the', - 'module']) + substrs = ['symbol file', 'has been added to']) if __name__ == '__main__': |