[libcxx] r229114 - Appease buildbots

Jonathan Roelofs jonathan at codesourcery.com
Fri Feb 13 07:34:01 PST 2015


Author: jroelofs
Date: Fri Feb 13 09:34:01 2015
New Revision: 229114

URL: http://llvm.org/viewvc/llvm-project?rev=229114&view=rev
Log:
Appease buildbots

Modified:
    libcxx/trunk/test/libcxx/test/target_info.py

Modified: libcxx/trunk/test/libcxx/test/target_info.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/target_info.py?rev=229114&r1=229113&r2=229114&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/target_info.py (original)
+++ libcxx/trunk/test/libcxx/test/target_info.py Fri Feb 13 09:34:01 2015
@@ -31,7 +31,7 @@ class LocalTI(TargetInfo):
         return platform.system()
 
     def platform_name(self):
-        if platform() == 'linux':
+        if self.platform() == 'linux':
             name, _, _ = platform.linux_distribution()
             name = name.lower().strip()
             if name:
@@ -39,7 +39,7 @@ class LocalTI(TargetInfo):
         return None
 
     def platform_ver(self):
-        if platform() == 'linux':
+        if self.platform() == 'linux':
             _, ver, _ = platform.linux_distribution()
             ver = ver.lower().strip()
             if ver:





More information about the cfe-commits mailing list