Index: lldb/trunk/test/lldbtest.py =================================================================== --- lldb/trunk/test/lldbtest.py +++ lldb/trunk/test/lldbtest.py @@ -1836,7 +1836,7 @@ 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']