summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/namespace/TestNamespace.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/cpp/namespace/TestNamespace.py')
-rw-r--r--lldb/test/lang/cpp/namespace/TestNamespace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/cpp/namespace/TestNamespace.py b/lldb/test/lang/cpp/namespace/TestNamespace.py
index d50490fe87d..a3184d38ed8 100644
--- a/lldb/test/lang/cpp/namespace/TestNamespace.py
+++ b/lldb/test/lang/cpp/namespace/TestNamespace.py
@@ -54,7 +54,7 @@ class NamespaceTestCase(TestBase):
# On Mac OS X, gcc 4.2 emits the wrong debug info with respect to types.
slist = ['(int) a = 12', 'anon_uint', 'a_uint', 'b_uint', 'y_uint']
- if sys.platform.startswith("darwin") and self.getCompiler() in ['clang', 'llvm-gcc']:
+ if self.getPlatform() == "darwin" and self.getCompiler() in ['clang', 'llvm-gcc']:
slist = ['(int) a = 12',
'::my_uint_t', 'anon_uint = 0',
'(A::uint_t) a_uint = 1',
OpenPOWER on IntegriCloud