[llvm] r210496 - Reduce verbiage of lit.local.cfg files
Alp Toker
alp at nuanti.com
Mon Jun 9 15:42:56 PDT 2014
Author: alp
Date: Mon Jun 9 17:42:55 2014
New Revision: 210496
URL: http://llvm.org/viewvc/llvm-project?rev=210496&view=rev
Log:
Reduce verbiage of lit.local.cfg files
We can just split targets_to_build in one place and make it immutable.
Modified:
llvm/trunk/docs/TestingGuide.rst
llvm/trunk/test/Analysis/CostModel/AArch64/lit.local.cfg
llvm/trunk/test/Analysis/CostModel/ARM/lit.local.cfg
llvm/trunk/test/Analysis/CostModel/PowerPC/lit.local.cfg
llvm/trunk/test/Analysis/CostModel/X86/lit.local.cfg
llvm/trunk/test/Bindings/llvm-c/lit.local.cfg
llvm/trunk/test/CodeGen/AArch64/lit.local.cfg
llvm/trunk/test/CodeGen/ARM/lit.local.cfg
llvm/trunk/test/CodeGen/CPP/lit.local.cfg
llvm/trunk/test/CodeGen/Hexagon/lit.local.cfg
llvm/trunk/test/CodeGen/MSP430/lit.local.cfg
llvm/trunk/test/CodeGen/Mips/lit.local.cfg
llvm/trunk/test/CodeGen/NVPTX/lit.local.cfg
llvm/trunk/test/CodeGen/PowerPC/lit.local.cfg
llvm/trunk/test/CodeGen/R600/lit.local.cfg
llvm/trunk/test/CodeGen/SPARC/lit.local.cfg
llvm/trunk/test/CodeGen/SystemZ/Large/lit.local.cfg
llvm/trunk/test/CodeGen/SystemZ/lit.local.cfg
llvm/trunk/test/CodeGen/Thumb/lit.local.cfg
llvm/trunk/test/CodeGen/Thumb2/lit.local.cfg
llvm/trunk/test/CodeGen/X86/GC/lit.local.cfg
llvm/trunk/test/CodeGen/X86/lit.local.cfg
llvm/trunk/test/CodeGen/XCore/lit.local.cfg
llvm/trunk/test/DebugInfo/AArch64/lit.local.cfg
llvm/trunk/test/DebugInfo/ARM/lit.local.cfg
llvm/trunk/test/DebugInfo/COFF/lit.local.cfg
llvm/trunk/test/DebugInfo/Mips/lit.local.cfg
llvm/trunk/test/DebugInfo/PowerPC/lit.local.cfg
llvm/trunk/test/DebugInfo/Sparc/lit.local.cfg
llvm/trunk/test/DebugInfo/SystemZ/lit.local.cfg
llvm/trunk/test/DebugInfo/X86/lit.local.cfg
llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
llvm/trunk/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
llvm/trunk/test/LTO/lit.local.cfg
llvm/trunk/test/MC/AArch64/lit.local.cfg
llvm/trunk/test/MC/ARM/AlignedBundling/lit.local.cfg
llvm/trunk/test/MC/ARM/lit.local.cfg
llvm/trunk/test/MC/AsmParser/lit.local.cfg
llvm/trunk/test/MC/COFF/lit.local.cfg
llvm/trunk/test/MC/Disassembler/AArch64/lit.local.cfg
llvm/trunk/test/MC/Disassembler/ARM/lit.local.cfg
llvm/trunk/test/MC/Disassembler/Mips/lit.local.cfg
llvm/trunk/test/MC/Disassembler/PowerPC/lit.local.cfg
llvm/trunk/test/MC/Disassembler/Sparc/lit.local.cfg
llvm/trunk/test/MC/Disassembler/SystemZ/lit.local.cfg
llvm/trunk/test/MC/Disassembler/X86/lit.local.cfg
llvm/trunk/test/MC/Disassembler/XCore/lit.local.cfg
llvm/trunk/test/MC/ELF/ARM/lit.local.cfg
llvm/trunk/test/MC/ELF/lit.local.cfg
llvm/trunk/test/MC/MachO/AArch64/lit.local.cfg
llvm/trunk/test/MC/MachO/ARM/lit.local.cfg
llvm/trunk/test/MC/MachO/lit.local.cfg
llvm/trunk/test/MC/Mips/lit.local.cfg
llvm/trunk/test/MC/PowerPC/lit.local.cfg
llvm/trunk/test/MC/Sparc/lit.local.cfg
llvm/trunk/test/MC/SystemZ/lit.local.cfg
llvm/trunk/test/MC/X86/AlignedBundling/lit.local.cfg
llvm/trunk/test/MC/X86/lit.local.cfg
llvm/trunk/test/Object/ARM/lit.local.cfg
llvm/trunk/test/Object/Mips/lit.local.cfg
llvm/trunk/test/Object/X86/lit.local.cfg
llvm/trunk/test/Other/X86/lit.local.cfg
llvm/trunk/test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg
llvm/trunk/test/Transforms/BBVectorize/lit.local.cfg
llvm/trunk/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
llvm/trunk/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
llvm/trunk/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
llvm/trunk/test/Transforms/ConstantHoisting/X86/lit.local.cfg
llvm/trunk/test/Transforms/GlobalMerge/AArch64/lit.local.cfg
llvm/trunk/test/Transforms/GlobalMerge/ARM/lit.local.cfg
llvm/trunk/test/Transforms/LoopIdiom/X86/lit.local.cfg
llvm/trunk/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
llvm/trunk/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
llvm/trunk/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
llvm/trunk/test/Transforms/LoopUnroll/X86/lit.local.cfg
llvm/trunk/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
llvm/trunk/test/Transforms/LoopVectorize/ARM/lit.local.cfg
llvm/trunk/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
llvm/trunk/test/Transforms/LoopVectorize/X86/lit.local.cfg
llvm/trunk/test/Transforms/LoopVectorize/XCore/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/R600/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/X86/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
llvm/trunk/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
llvm/trunk/test/Transforms/SimplifyCFG/X86/lit.local.cfg
llvm/trunk/test/Transforms/TailDup/X86/lit.local.cfg
llvm/trunk/test/Transforms/TailDup/lit.local.cfg
llvm/trunk/test/lit.cfg
llvm/trunk/test/tools/llvm-objdump/lit.local.cfg
llvm/trunk/test/tools/llvm-readobj/ARM/lit.local.cfg
Modified: llvm/trunk/docs/TestingGuide.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.rst?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.rst (original)
+++ llvm/trunk/docs/TestingGuide.rst Mon Jun 9 17:42:55 2014
@@ -304,8 +304,7 @@ For instance, on ``test/CodeGen/ARM``, t
.. code-block:: python
config.suffixes = ['.ll', '.c', '.cpp', '.test']
- targets = set(config.root.targets_to_build.split())
- if not 'ARM' in targets:
+ if not 'ARM' in config.root.targets:
config.unsupported = True
Other platform-specific tests are those that depend on a specific feature
Modified: llvm/trunk/test/Analysis/CostModel/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CostModel/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/CostModel/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Analysis/CostModel/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Analysis/CostModel/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CostModel/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/CostModel/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Analysis/CostModel/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Analysis/CostModel/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CostModel/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/CostModel/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/Analysis/CostModel/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Analysis/CostModel/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CostModel/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/CostModel/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Analysis/CostModel/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Bindings/llvm-c/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bindings/llvm-c/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Bindings/llvm-c/lit.local.cfg (original)
+++ llvm/trunk/test/Bindings/llvm-c/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,5 +1,4 @@
-targets = set(config.root.targets_to_build.split())
-if not "X86" in targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-if not "ARM" in targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -2,8 +2,7 @@ import re
config.suffixes = ['.ll']
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
# For now we don't test arm64-win32.
Modified: llvm/trunk/test/CodeGen/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/CPP/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/CPP/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/CPP/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/CPP/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'CppBackend' in targets:
+if not 'CppBackend' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/Hexagon/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/Hexagon/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Hexagon' in targets:
+if not 'Hexagon' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/MSP430/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MSP430/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MSP430/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/MSP430/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'MSP430' in targets:
+if not 'MSP430' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/Mips/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/Mips/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/NVPTX/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/NVPTX/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/NVPTX/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/NVPTX/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'NVPTX' in targets:
+if not 'NVPTX' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/R600/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/R600/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'R600' in targets:
+if not 'R600' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/SPARC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/SPARC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/SystemZ/Large/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/Large/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/Large/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/SystemZ/Large/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -5,6 +5,5 @@ config.suffixes = ['.py']
if config.root.host_arch not in ['SystemZ']:
config.unsupported = True
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/SystemZ/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/SystemZ/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/Thumb/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/Thumb/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/Thumb2/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/Thumb2/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/X86/GC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/GC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/GC/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/X86/GC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/CodeGen/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -6,7 +6,6 @@
# cleanly.
config.suffixes = ['.ll', '.test', '.txt']
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/CodeGen/XCore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/XCore/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/XCore/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/XCore/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/COFF/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/COFF/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/COFF/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/COFF/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/Mips/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Mips/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/Mips/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/Mips/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/DebugInfo/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/Sparc/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Sparc/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/Sparc/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/Sparc/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/SystemZ/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/SystemZ/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/SystemZ/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/SystemZ/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/DebugInfo/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/lit.local.cfg (original)
+++ llvm/trunk/test/DebugInfo/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg (original)
+++ llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,5 +1,5 @@
root = config.root
-targets = set(root.targets_to_build.split())
+targets = root.targets
if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
config.unsupported = False
Modified: llvm/trunk/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/LTO/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/LTO/lit.local.cfg (original)
+++ llvm/trunk/test/LTO/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/MC/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if 'AArch64' not in targets:
+if 'AArch64' not in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/ARM/AlignedBundling/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/AlignedBundling/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/AlignedBundling/lit.local.cfg (original)
+++ llvm/trunk/test/MC/ARM/AlignedBundling/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/MC/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/AsmParser/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/lit.local.cfg (original)
+++ llvm/trunk/test/MC/AsmParser/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/COFF/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/lit.local.cfg (original)
+++ llvm/trunk/test/MC/COFF/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/Disassembler/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if 'AArch64' not in targets:
+if 'AArch64' not in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/Mips/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/Mips/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/Mips/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/Mips/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/Sparc/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/Sparc/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/Sparc/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/Sparc/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/SystemZ/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/SystemZ/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/SystemZ/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/SystemZ/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Disassembler/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/X86/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/Disassembler/XCore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/XCore/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/XCore/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Disassembler/XCore/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/ELF/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/MC/ELF/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
# We have to reset config.unsupported here because the parent directory is
# predicated on 'X86'.
-config.unsupported = not 'ARM' in targets
+config.unsupported = not 'ARM' in config.root.targets
Modified: llvm/trunk/test/MC/ELF/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/lit.local.cfg (original)
+++ llvm/trunk/test/MC/ELF/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/MachO/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/MC/MachO/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/MachO/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/MC/MachO/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/MachO/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/lit.local.cfg (original)
+++ llvm/trunk/test/MC/MachO/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/Mips/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Mips/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/MC/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/Sparc/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Sparc/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/Sparc/lit.local.cfg (original)
+++ llvm/trunk/test/MC/Sparc/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/SystemZ/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/SystemZ/lit.local.cfg (original)
+++ llvm/trunk/test/MC/SystemZ/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/MC/X86/AlignedBundling/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/AlignedBundling/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/AlignedBundling/lit.local.cfg (original)
+++ llvm/trunk/test/MC/X86/AlignedBundling/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/MC/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/lit.local.cfg (original)
+++ llvm/trunk/test/MC/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Object/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Object/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Object/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Object/Mips/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/lit.local.cfg (original)
+++ llvm/trunk/test/Object/Mips/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Object/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Object/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Object/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Other/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Other/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Other/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/BBVectorize/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/BBVectorize/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/BBVectorize/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/BBVectorize/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeGenPrepare/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/CodeGenPrepare/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/CodeGenPrepare/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/ConstantHoisting/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ConstantHoisting/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ConstantHoisting/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/ConstantHoisting/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/GlobalMerge/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalMerge/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GlobalMerge/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/GlobalMerge/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/GlobalMerge/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalMerge/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GlobalMerge/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/GlobalMerge/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopIdiom/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopIdiom/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopIdiom/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopIdiom/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,5 +1,4 @@
config.suffixes = ['.ll']
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopUnroll/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnroll/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopUnroll/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopUnroll/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,6 +1,5 @@
config.suffixes = ['.ll']
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopVectorize/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/LoopVectorize/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/LoopVectorize/XCore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/XCore/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/XCore/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/LoopVectorize/XCore/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/SLPVectorizer/R600/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/R600/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/R600/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/R600/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'R600' in targets:
+if not 'R600' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/XCore/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/XCore/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/XCore/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'NVPTX' in targets:
+if not 'NVPTX' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/Transforms/SimplifyCFG/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/TailDup/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/TailDup/X86/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/TailDup/X86/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/TailDup/X86/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -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
Modified: llvm/trunk/test/Transforms/TailDup/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/TailDup/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/TailDup/lit.local.cfg (original)
+++ llvm/trunk/test/Transforms/TailDup/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Mon Jun 9 17:42:55 2014
@@ -265,6 +265,10 @@ for pattern in [r"\bbugpoint\b(?!-)",
tool_path = llvm_tools_dir + '/' + tool_name
config.substitutions.append((pattern, tool_pipe + tool_path))
+### Targets
+
+config.targets = frozenset(config.targets_to_build.split())
+
### Features
# Shell execution
Modified: llvm/trunk/test/tools/llvm-objdump/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/lit.local.cfg (original)
+++ llvm/trunk/test/tools/llvm-objdump/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
config.unsupported = True
Modified: llvm/trunk/test/tools/llvm-readobj/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/ARM/lit.local.cfg?rev=210496&r1=210495&r2=210496&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/ARM/lit.local.cfg (original)
+++ llvm/trunk/test/tools/llvm-readobj/ARM/lit.local.cfg Mon Jun 9 17:42:55 2014
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
config.unsupported = True
More information about the llvm-commits
mailing list