diff options
-rw-r--r-- | libcxx/test/libcxx/test/target_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/libcxx/test/target_info.py b/libcxx/test/libcxx/test/target_info.py index 188097d2e95..a6173778689 100644 --- a/libcxx/test/libcxx/test/target_info.py +++ b/libcxx/test/libcxx/test/target_info.py @@ -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: |