REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8869

Files:
  lldb/trunk/test/lldbtest.py

Index: lldb/trunk/test/lldbtest.py
===================================================================
--- lldb/trunk/test/lldbtest.py
+++ lldb/trunk/test/lldbtest.py
@@ -606,8 +606,8 @@
 
 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)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
Index: lldb/trunk/test/lldbtest.py
===================================================================
--- lldb/trunk/test/lldbtest.py
+++ lldb/trunk/test/lldbtest.py
@@ -606,8 +606,8 @@
 
 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)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to