diff options
-rw-r--r-- | lldb/test/lldbtest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 501aae965d6..ae8b9a51b6d 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -606,8 +606,8 @@ def expectedFailureWindows(bugnumber=None, compilers=None): def expectedFailureLLGS(bugnumber=None, compilers=None): def fn(self): - # llgs local is only an option on Linux systems - if 'linux' not in sys.platform: + # llgs local is only an option on Linux targets + if not self.platformIsLinux(): return False self.runCmd('settings show platform.plugin.linux.use-llgs-for-local') return 'true' in self.res.GetOutput() and self.expectedCompiler(compilers) |