Appease buildbots
authorJonathan Roelofs <jonathan@codesourcery.com>
Fri, 13 Feb 2015 15:34:01 +0000 (15:34 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Fri, 13 Feb 2015 15:34:01 +0000 (15:34 +0000)
llvm-svn: 229114

libcxx/test/libcxx/test/target_info.py

index 188097d..a617377 100644 (file)
@@ -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: