From c849267a69e31a1f6baeed9de4607e069b6fa045 Mon Sep 17 00:00:00 2001 From: Vince Harron Date: Mon, 4 May 2015 02:59:19 +0000 Subject: [PATCH] Fixed skipIfLinuxClang to check the target architecture Instead of the host architecture This decorator isn't in use anywhere currently. Add it to a test and run llvm-svn: 236402 --- lldb/test/lldbtest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index a67e64ce278d..f6f02d9c39bc 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -747,8 +747,8 @@ def skipIfLinuxClang(func): from unittest2 import case self = args[0] compiler = self.getCompiler() - platform = sys.platform - if "clang" in compiler and "linux" in platform: + platform = self.getPlatform() + if "clang" in compiler and platform == "linux": self.skipTest("skipping because Clang is used on Linux") else: func(*args, **kwargs) -- 2.34.1