summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object')
-rw-r--r--llvm/test/Object/ARM/lit.local.cfg3
-rw-r--r--llvm/test/Object/Mips/lit.local.cfg3
-rw-r--r--llvm/test/Object/X86/lit.local.cfg3
3 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/Object/ARM/lit.local.cfg b/llvm/test/Object/ARM/lit.local.cfg
index 5fc35d80541..236e1d34416 100644
--- a/llvm/test/Object/ARM/lit.local.cfg
+++ b/llvm/test/Object/ARM/lit.local.cfg
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/Mips/lit.local.cfg b/llvm/test/Object/Mips/lit.local.cfg
index 88262fb1d32..7d12f7a9c56 100644
--- a/llvm/test/Object/Mips/lit.local.cfg
+++ b/llvm/test/Object/Mips/lit.local.cfg
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/X86/lit.local.cfg b/llvm/test/Object/X86/lit.local.cfg
index ba763cf03ff..e71f3cc4c41 100644
--- a/llvm/test/Object/X86/lit.local.cfg
+++ b/llvm/test/Object/X86/lit.local.cfg
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
OpenPOWER on IntegriCloud