[Lldb-commits] [lldb] r237288 - Select expected remote libc++ library name based on remote platform.
Robert Flack
flackr at gmail.com
Wed May 13 13:17:34 PDT 2015
Author: flackr
Date: Wed May 13 15:17:34 2015
New Revision: 237288
URL: http://llvm.org/viewvc/llvm-project?rev=237288&view=rev
Log:
Select expected remote libc++ library name based on remote platform.
Select expected remote libc++ library name based on remote platform. This is
used to verify libc++ is in the loaded image list by various tests which use it.
Test Plan:
Passes the following tests mac -> linux with this patch:
TestDataFormatterLibccIterator.py
TestDataFormatterLibccMap.py
TestDataFormatterLibccMultiMap.py
TestDataFormatterLibcxxMultiSet.py
TestDataFormatterLibcxxSet.py
TestDataFormatterUnordered.py
Differential Revision: http://reviews.llvm.org/D9759
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=237288&r1=237287&r2=237288&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Wed May 13 15:17:34 2015
@@ -1836,7 +1836,7 @@ class Base(unittest2.TestCase):
return self.lib_dir
def getLibcPlusPlusLibs(self):
- if sys.platform.startswith('freebsd') or sys.platform.startswith('linux'):
+ if self.getPlatform() == 'freebsd' or self.getPlatform() == 'linux':
return ['libc++.so.1']
else:
return ['libc++.1.dylib','libc++abi.dylib']
More information about the lldb-commits
mailing list