diff options
Diffstat (limited to 'lldb/test/lang/cpp/class_static/TestStaticVariables.py')
| -rw-r--r-- | lldb/test/lang/cpp/class_static/TestStaticVariables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/lang/cpp/class_static/TestStaticVariables.py index c2d2024ef8e..d5d0bf1402e 100644 --- a/lldb/test/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/test/lang/cpp/class_static/TestStaticVariables.py @@ -73,7 +73,7 @@ class StaticVariableTestCase(TestBase): # On Mac OS X, gcc 4.2 emits the wrong debug info for A::g_points. # A::g_points is an array of two elements. - if sys.platform.startswith("darwin") or sys.platform.startswith("linux"): + if self.getPlatform() == "darwin" or self.getPlatform() == "linux": self.expect("target variable A::g_points[1].x", VARIABLES_DISPLAYED_CORRECTLY, startstr = "(int) A::g_points[1].x = 11") |

