diff --git a/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg b/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg b/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg b/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg b/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg b/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/CostModel/X86/lit.local.cfg b/llvm/test/Analysis/CostModel/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Analysis/CostModel/X86/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/Delinearization/lit.local.cfg b/llvm/test/Analysis/Delinearization/lit.local.cfg index c6106e4746f2d..1b272e3c44d79 100644 --- a/llvm/test/Analysis/Delinearization/lit.local.cfg +++ b/llvm/test/Analysis/Delinearization/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] diff --git a/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg b/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg +++ b/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/Lint/lit.local.cfg b/llvm/test/Analysis/Lint/lit.local.cfg index c6106e4746f2d..1b272e3c44d79 100644 --- a/llvm/test/Analysis/Lint/lit.local.cfg +++ b/llvm/test/Analysis/Lint/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] diff --git a/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg b/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg +++ b/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg b/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg +++ b/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg b/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg +++ b/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Bindings/OCaml/Utils/lit.local.cfg b/llvm/test/Bindings/OCaml/Utils/lit.local.cfg index 53edf1edae2a7..a8c015b8ec8e2 100644 --- a/llvm/test/Bindings/OCaml/Utils/lit.local.cfg +++ b/llvm/test/Bindings/OCaml/Utils/lit.local.cfg @@ -1,2 +1,2 @@ # This is a directory for utility functions. No test here. -config.suffixes = ['.dummy'] +config.suffixes = [".dummy"] diff --git a/llvm/test/Bindings/OCaml/lit.local.cfg b/llvm/test/Bindings/OCaml/lit.local.cfg index 364b97c632e83..03e71e9c682a4 100644 --- a/llvm/test/Bindings/OCaml/lit.local.cfg +++ b/llvm/test/Bindings/OCaml/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ml'] +config.suffixes = [".ml"] -if not 'ocaml' in config.root.llvm_bindings: +if not "ocaml" in config.root.llvm_bindings: config.unsupported = True diff --git a/llvm/test/CodeGen/AArch64/lit.local.cfg b/llvm/test/CodeGen/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/CodeGen/AArch64/lit.local.cfg +++ b/llvm/test/CodeGen/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/AMDGPU/lit.local.cfg b/llvm/test/CodeGen/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/CodeGen/AMDGPU/lit.local.cfg +++ b/llvm/test/CodeGen/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/ARC/lit.local.cfg b/llvm/test/CodeGen/ARC/lit.local.cfg index fc3d380e30c27..efe5cc5cf0acc 100644 --- a/llvm/test/CodeGen/ARC/lit.local.cfg +++ b/llvm/test/CodeGen/ARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARC' in config.root.targets: +if not "ARC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/ARM/lit.local.cfg b/llvm/test/CodeGen/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/CodeGen/ARM/lit.local.cfg +++ b/llvm/test/CodeGen/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/AVR/lit.local.cfg b/llvm/test/CodeGen/AVR/lit.local.cfg index 908656a3ee45d..1724fb233c169 100644 --- a/llvm/test/CodeGen/AVR/lit.local.cfg +++ b/llvm/test/CodeGen/AVR/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AVR' in config.root.targets: +if not "AVR" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/BPF/lit.local.cfg b/llvm/test/CodeGen/BPF/lit.local.cfg index 36a70677f2806..d1828f2b613d9 100644 --- a/llvm/test/CodeGen/BPF/lit.local.cfg +++ b/llvm/test/CodeGen/BPF/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True -if 'system-aix' in config.available_features: +if "system-aix" in config.available_features: config.unsupported = True diff --git a/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg b/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg index 37335bd736850..fd6373bcf6089 100644 --- a/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg +++ b/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'CSKY' in config.root.targets: +if not "CSKY" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/CSKY/lit.local.cfg b/llvm/test/CodeGen/CSKY/lit.local.cfg index 37335bd736850..fd6373bcf6089 100644 --- a/llvm/test/CodeGen/CSKY/lit.local.cfg +++ b/llvm/test/CodeGen/CSKY/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'CSKY' in config.root.targets: +if not "CSKY" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/DirectX/lit.local.cfg b/llvm/test/CodeGen/DirectX/lit.local.cfg index 95c31776c9a5d..72de724f06d79 100644 --- a/llvm/test/CodeGen/DirectX/lit.local.cfg +++ b/llvm/test/CodeGen/DirectX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'DirectX' in config.root.targets: - config.unsupported = True +if not "DirectX" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/CodeGen/Hexagon/lit.local.cfg b/llvm/test/CodeGen/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/CodeGen/Hexagon/lit.local.cfg +++ b/llvm/test/CodeGen/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/Lanai/lit.local.cfg b/llvm/test/CodeGen/Lanai/lit.local.cfg index f1b8b4f4e21f9..2384de1dd78b7 100644 --- a/llvm/test/CodeGen/Lanai/lit.local.cfg +++ b/llvm/test/CodeGen/Lanai/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Lanai' in config.root.targets: +if not "Lanai" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/LoongArch/lit.local.cfg b/llvm/test/CodeGen/LoongArch/lit.local.cfg index a54f5aeca4abb..bc630dbef706b 100644 --- a/llvm/test/CodeGen/LoongArch/lit.local.cfg +++ b/llvm/test/CodeGen/LoongArch/lit.local.cfg @@ -1,13 +1,16 @@ import os -config.suffixes = ['.ll', '.mir', '.test', '.txt'] +config.suffixes = [".ll", ".mir", ".test", ".txt"] -extract_section_path = os.path.join(config.llvm_src_root, - 'utils', 'extract-section.py') +extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py") -config.substitutions.append(('extract-section', - "'%s' %s %s" % (config.python_executable, - extract_section_path, '--bits-endian little'))) +config.substitutions.append( + ( + "extract-section", + "'%s' %s %s" + % (config.python_executable, extract_section_path, "--bits-endian little"), + ) +) -if not 'LoongArch' in config.root.targets: +if not "LoongArch" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/M68k/lit.local.cfg b/llvm/test/CodeGen/M68k/lit.local.cfg index f42093af07708..571ff6a748bf9 100644 --- a/llvm/test/CodeGen/M68k/lit.local.cfg +++ b/llvm/test/CodeGen/M68k/lit.local.cfg @@ -1,14 +1,20 @@ import os -config.suffixes = ['.ll', '.mir', '.test', '.txt'] +config.suffixes = [".ll", ".mir", ".test", ".txt"] -extract_section_path = os.path.join(config.llvm_src_root, - 'utils', 'extract-section.py') +extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py") -config.substitutions.append(('extract-section', - "'%s' %s %s" % (config.python_executable, - extract_section_path, '--byte-indicator --hex-width=2'))) +config.substitutions.append( + ( + "extract-section", + "'%s' %s %s" + % ( + config.python_executable, + extract_section_path, + "--byte-indicator --hex-width=2", + ), + ) +) -if not 'M68k' in config.root.targets: +if not "M68k" in config.root.targets: config.unsupported = True - diff --git a/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg b/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg index f4f77c5aa3124..d7945e5aace58 100644 --- a/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg @@ -1,8 +1,8 @@ import re -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True # For now we don't test arm64-win32. -if re.search(r'cygwin|mingw32|win32|windows-gnu|windows-msvc', config.target_triple): +if re.search(r"cygwin|mingw32|win32|windows-gnu|windows-msvc", config.target_triple): config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg b/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/ARM/lit.local.cfg b/llvm/test/CodeGen/MIR/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/CodeGen/MIR/ARM/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/Generic/lit.local.cfg b/llvm/test/CodeGen/MIR/Generic/lit.local.cfg index b2fc1412af243..0f2992fb75065 100644 --- a/llvm/test/CodeGen/MIR/Generic/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/Generic/lit.local.cfg @@ -1,2 +1,2 @@ -if 'native' not in config.available_features: +if "native" not in config.available_features: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg b/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/Mips/lit.local.cfg b/llvm/test/CodeGen/MIR/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/CodeGen/MIR/Mips/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg b/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg b/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg b/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg b/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MIR/X86/lit.local.cfg b/llvm/test/CodeGen/MIR/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/CodeGen/MIR/X86/lit.local.cfg +++ b/llvm/test/CodeGen/MIR/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/MSP430/lit.local.cfg b/llvm/test/CodeGen/MSP430/lit.local.cfg index 4ad9495c56fce..f19a7a9c6d0a2 100644 --- a/llvm/test/CodeGen/MSP430/lit.local.cfg +++ b/llvm/test/CodeGen/MSP430/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'MSP430' in config.root.targets: +if not "MSP430" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/Mips/lit.local.cfg b/llvm/test/CodeGen/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/CodeGen/Mips/lit.local.cfg +++ b/llvm/test/CodeGen/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/NVPTX/lit.local.cfg b/llvm/test/CodeGen/NVPTX/lit.local.cfg index 8354800109ebd..e3f06d1a720e3 100644 --- a/llvm/test/CodeGen/NVPTX/lit.local.cfg +++ b/llvm/test/CodeGen/NVPTX/lit.local.cfg @@ -1,3 +1,3 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True -config.suffixes.add('.py') +config.suffixes.add(".py") diff --git a/llvm/test/CodeGen/PowerPC/lit.local.cfg b/llvm/test/CodeGen/PowerPC/lit.local.cfg index 1dbbf92fcf5e3..3e8c0f8b18420 100644 --- a/llvm/test/CodeGen/PowerPC/lit.local.cfg +++ b/llvm/test/CodeGen/PowerPC/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True -config.suffixes.add('.py') +config.suffixes.add(".py") diff --git a/llvm/test/CodeGen/RISCV/lit.local.cfg b/llvm/test/CodeGen/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/CodeGen/RISCV/lit.local.cfg +++ b/llvm/test/CodeGen/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/SPARC/lit.local.cfg b/llvm/test/CodeGen/SPARC/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/CodeGen/SPARC/lit.local.cfg +++ b/llvm/test/CodeGen/SPARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/SPIRV/lit.local.cfg b/llvm/test/CodeGen/SPIRV/lit.local.cfg index 5c9b0f15271cd..78dd74cd6dc63 100644 --- a/llvm/test/CodeGen/SPIRV/lit.local.cfg +++ b/llvm/test/CodeGen/SPIRV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SPIRV' in config.root.targets: +if not "SPIRV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg index dcfac5b37ba37..88a2a3d80b3d1 100644 --- a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg +++ b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg @@ -1,9 +1,9 @@ -config.suffixes = [ '.ll', '.py' ] +config.suffixes = [".ll", ".py"] # These tests take on the order of seconds to run, so skip them unless # we're running long tests. -if 'long_tests' not in config.available_features: +if "long_tests" not in config.available_features: config.unsupported = True -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/SystemZ/lit.local.cfg b/llvm/test/CodeGen/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/CodeGen/SystemZ/lit.local.cfg +++ b/llvm/test/CodeGen/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/Thumb/lit.local.cfg b/llvm/test/CodeGen/Thumb/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/CodeGen/Thumb/lit.local.cfg +++ b/llvm/test/CodeGen/Thumb/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/Thumb2/lit.local.cfg b/llvm/test/CodeGen/Thumb2/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/CodeGen/Thumb2/lit.local.cfg +++ b/llvm/test/CodeGen/Thumb2/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg b/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg index b6366779272df..d52a71f497cb2 100644 --- a/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg +++ b/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'VE' in config.root.targets: +if not "VE" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/VE/lit.local.cfg b/llvm/test/CodeGen/VE/lit.local.cfg index b6366779272df..d52a71f497cb2 100644 --- a/llvm/test/CodeGen/VE/lit.local.cfg +++ b/llvm/test/CodeGen/VE/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'VE' in config.root.targets: +if not "VE" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/WebAssembly/lit.local.cfg b/llvm/test/CodeGen/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/CodeGen/WebAssembly/lit.local.cfg +++ b/llvm/test/CodeGen/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/WinCFGuard/lit.local.cfg b/llvm/test/CodeGen/WinCFGuard/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/CodeGen/WinCFGuard/lit.local.cfg +++ b/llvm/test/CodeGen/WinCFGuard/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/WinEH/lit.local.cfg b/llvm/test/CodeGen/WinEH/lit.local.cfg index f5566ca3b3764..b39ce3299f7e9 100644 --- a/llvm/test/CodeGen/WinEH/lit.local.cfg +++ b/llvm/test/CodeGen/WinEH/lit.local.cfg @@ -4,8 +4,8 @@ # # It should be possible to remove this override once all the bots have cycled # cleanly. -config.suffixes = ['.ll', '.test', '.txt'] +config.suffixes = [".ll", ".test", ".txt"] # FIXME: Add Windows on ARM support to these tests. -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/X86/GC/lit.local.cfg b/llvm/test/CodeGen/X86/GC/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/CodeGen/X86/GC/lit.local.cfg +++ b/llvm/test/CodeGen/X86/GC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/X86/lit.local.cfg b/llvm/test/CodeGen/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/CodeGen/X86/lit.local.cfg +++ b/llvm/test/CodeGen/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/CodeGen/XCore/lit.local.cfg b/llvm/test/CodeGen/XCore/lit.local.cfg index bb48713fe33e2..26c8076e1ef72 100644 --- a/llvm/test/CodeGen/XCore/lit.local.cfg +++ b/llvm/test/CodeGen/XCore/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'XCore' in config.root.targets: +if not "XCore" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/AArch64/lit.local.cfg b/llvm/test/DebugInfo/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/DebugInfo/AArch64/lit.local.cfg +++ b/llvm/test/DebugInfo/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/AMDGPU/lit.local.cfg b/llvm/test/DebugInfo/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/DebugInfo/AMDGPU/lit.local.cfg +++ b/llvm/test/DebugInfo/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/ARM/lit.local.cfg b/llvm/test/DebugInfo/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/DebugInfo/ARM/lit.local.cfg +++ b/llvm/test/DebugInfo/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/BPF/lit.local.cfg b/llvm/test/DebugInfo/BPF/lit.local.cfg index a4ab2624af614..0fe841da7d0e7 100644 --- a/llvm/test/DebugInfo/BPF/lit.local.cfg +++ b/llvm/test/DebugInfo/BPF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg b/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg index 4004363241deb..3383482613545 100644 --- a/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg +++ b/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg @@ -1,3 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True - diff --git a/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg b/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg index 98c6700c209d7..7c23e4f980130 100644 --- a/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg +++ b/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg @@ -1,3 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True - diff --git a/llvm/test/DebugInfo/COFF/lit.local.cfg b/llvm/test/DebugInfo/COFF/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/DebugInfo/COFF/lit.local.cfg +++ b/llvm/test/DebugInfo/COFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/CSKY/lit.local.cfg b/llvm/test/DebugInfo/CSKY/lit.local.cfg index 37335bd736850..fd6373bcf6089 100644 --- a/llvm/test/DebugInfo/CSKY/lit.local.cfg +++ b/llvm/test/DebugInfo/CSKY/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'CSKY' in config.root.targets: +if not "CSKY" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/Lanai/lit.local.cfg b/llvm/test/DebugInfo/Lanai/lit.local.cfg index f1b8b4f4e21f9..2384de1dd78b7 100644 --- a/llvm/test/DebugInfo/Lanai/lit.local.cfg +++ b/llvm/test/DebugInfo/Lanai/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Lanai' in config.root.targets: +if not "Lanai" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg b/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg b/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg b/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg b/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg b/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg b/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/X86/lit.local.cfg b/llvm/test/DebugInfo/MIR/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/DebugInfo/MIR/X86/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/MIR/lit.local.cfg b/llvm/test/DebugInfo/MIR/lit.local.cfg index a6c963243226f..1bd08622f889c 100644 --- a/llvm/test/DebugInfo/MIR/lit.local.cfg +++ b/llvm/test/DebugInfo/MIR/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.mir'] +config.suffixes = [".mir"] diff --git a/llvm/test/DebugInfo/MSP430/lit.local.cfg b/llvm/test/DebugInfo/MSP430/lit.local.cfg index 4ad9495c56fce..f19a7a9c6d0a2 100644 --- a/llvm/test/DebugInfo/MSP430/lit.local.cfg +++ b/llvm/test/DebugInfo/MSP430/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'MSP430' in config.root.targets: +if not "MSP430" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/Mips/lit.local.cfg b/llvm/test/DebugInfo/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/DebugInfo/Mips/lit.local.cfg +++ b/llvm/test/DebugInfo/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/NVPTX/lit.local.cfg b/llvm/test/DebugInfo/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/DebugInfo/NVPTX/lit.local.cfg +++ b/llvm/test/DebugInfo/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/PowerPC/lit.local.cfg b/llvm/test/DebugInfo/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/DebugInfo/PowerPC/lit.local.cfg +++ b/llvm/test/DebugInfo/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/RISCV/lit.local.cfg b/llvm/test/DebugInfo/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/DebugInfo/RISCV/lit.local.cfg +++ b/llvm/test/DebugInfo/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/Sparc/lit.local.cfg b/llvm/test/DebugInfo/Sparc/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/DebugInfo/Sparc/lit.local.cfg +++ b/llvm/test/DebugInfo/Sparc/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/SystemZ/lit.local.cfg b/llvm/test/DebugInfo/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/DebugInfo/SystemZ/lit.local.cfg +++ b/llvm/test/DebugInfo/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/WebAssembly/lit.local.cfg b/llvm/test/DebugInfo/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/DebugInfo/WebAssembly/lit.local.cfg +++ b/llvm/test/DebugInfo/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/X86/lit.local.cfg b/llvm/test/DebugInfo/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/DebugInfo/X86/lit.local.cfg +++ b/llvm/test/DebugInfo/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/XCOFF/lit.local.cfg b/llvm/test/DebugInfo/XCOFF/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/DebugInfo/XCOFF/lit.local.cfg +++ b/llvm/test/DebugInfo/XCOFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/XCore/lit.local.cfg b/llvm/test/DebugInfo/XCore/lit.local.cfg index bb48713fe33e2..26c8076e1ef72 100644 --- a/llvm/test/DebugInfo/XCore/lit.local.cfg +++ b/llvm/test/DebugInfo/XCore/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'XCore' in config.root.targets: +if not "XCore" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg b/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg +++ b/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg b/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg +++ b/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg index a9f3860333603..f9127daf813cb 100644 --- a/llvm/test/Examples/lit.local.cfg +++ b/llvm/test/Examples/lit.local.cfg @@ -1,5 +1,5 @@ -if not config.build_examples or sys.platform in ['win32']: - config.unsupported = True +if not config.build_examples or sys.platform in ["win32"]: + config.unsupported = True # Test discovery should ignore subdirectories that contain test inputs. -config.excludes = ['Inputs'] +config.excludes = ["Inputs"] diff --git a/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg index 20e19aeb06f9d..7c23e4f980130 100644 --- a/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: - config.unsupported = True +if not "ARM" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg index 304f2436ece15..10d4a0e953ed4 100644 --- a/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: - config.unsupported = True +if not "AArch64" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg index a4b6c6f59bdbd..cc24278acbb41 100644 --- a/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'LoongArch' in config.root.targets: - config.unsupported = True +if not "LoongArch" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg +++ b/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg index e2535ef1dbfd6..b6874dd86eadb 100644 --- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -1,27 +1,43 @@ root = config.root targets = root.targets -if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \ - ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets): +if ( + ("X86" in targets) + | ("AArch64" in targets) + | ("ARM" in targets) + | ("Mips" in targets) + | ("PowerPC" in targets) + | ("SystemZ" in targets) +): config.unsupported = False else: config.unsupported = True # FIXME: autoconf and cmake produce different arch names. We should normalize # them before getting here. -if root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64', - 'AArch64', 'ARM', 'Mips', - 'PowerPC', 'ppc64', 'ppc64le', 'SystemZ']: +if root.host_arch not in [ + "i386", + "x86", + "x86_64", + "AMD64", + "AArch64", + "ARM", + "Mips", + "PowerPC", + "ppc64", + "ppc64le", + "SystemZ", +]: config.unsupported = True -if 'armv7' in root.host_arch: +if "armv7" in root.host_arch: config.unsupported = False -if 'i386-apple-darwin' in root.target_triple: +if "i386-apple-darwin" in root.target_triple: config.unsupported = True -if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple: +if "powerpc" in root.target_triple and not "powerpc64" in root.target_triple: config.unsupported = True # ExecutionEngine tests are not expected to pass in a cross-compilation setup. -if 'native' not in config.available_features: +if "native" not in config.available_features: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg index 625d82dc61890..5095d98a5fd6b 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg @@ -1,8 +1,7 @@ -if 'armv4' in config.root.target_triple or \ - 'armv5' in config.root.target_triple: +if "armv4" in config.root.target_triple or "armv5" in config.root.target_triple: config.unsupported = True # This is temporary, until Remote MCJIT works on ARM # See http://llvm.org/bugs/show_bug.cgi?id=18057 -#if 'armv7' in config.root.target_triple: +# if 'armv7' in config.root.target_triple: # config.unsupported = True diff --git a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg index 3a3d23f2bb335..cbd7c544065d8 100644 --- a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg +++ b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg @@ -1,10 +1,18 @@ import sys -if config.root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64', - 'mips', 'mipsel', 'mips64', 'mips64el', - 'loongarch64']: +if config.root.host_arch not in [ + "i386", + "x86", + "x86_64", + "AMD64", + "mips", + "mipsel", + "mips64", + "mips64el", + "loongarch64", +]: config.unsupported = True # FIXME: These tests don't pass with the COFF rtld. -if sys.platform == 'win32': +if sys.platform == "win32": config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg index a4ab2624af614..0fe841da7d0e7 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg +++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg index b00ef0dcbdf03..59f7cdb62deae 100644 --- a/llvm/test/ExecutionEngine/lit.local.cfg +++ b/llvm/test/ExecutionEngine/lit.local.cfg @@ -1,6 +1,6 @@ -if config.root.native_target in ['Sparc', 'PowerPC', 'SystemZ', 'Hexagon', 'RISCV']: +if config.root.native_target in ["Sparc", "PowerPC", "SystemZ", "Hexagon", "RISCV"]: config.unsupported = True # ExecutionEngine tests are not expected to pass in a cross-compilation setup. -if 'native' not in config.available_features: +if "native" not in config.available_features: config.unsupported = True diff --git a/llvm/test/FileCheck/lit.local.cfg b/llvm/test/FileCheck/lit.local.cfg index 9164f683fc1be..f9aa2004173a7 100644 --- a/llvm/test/FileCheck/lit.local.cfg +++ b/llvm/test/FileCheck/lit.local.cfg @@ -52,5 +52,4 @@ config.test_format = lit.formats.ShTest(execute_external=False) # debugging tests. If a developer sets values that affect FileCheck's exit # status (e.g., FILECHECK_OPTS=-strict-whitespace), he shouldn't be surprised # that test results throughout all test suites are affected. -config.substitutions.append(('%ProtectFileCheckOutput', - 'env -u FILECHECK_OPTS')) +config.substitutions.append(("%ProtectFileCheckOutput", "env -u FILECHECK_OPTS")) diff --git a/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg +++ b/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg +++ b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg b/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg +++ b/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/JitListener/lit.local.cfg b/llvm/test/JitListener/lit.local.cfg index 1576fbe9edd2d..d4da7c9fec560 100644 --- a/llvm/test/JitListener/lit.local.cfg +++ b/llvm/test/JitListener/lit.local.cfg @@ -1,3 +1,3 @@ if not config.root.llvm_use_intel_jitevents: config.unsupported = True -config.environment['INTEL_JIT_BACKWARD_COMPATIBILITY'] = '1' +config.environment["INTEL_JIT_BACKWARD_COMPATIBILITY"] = "1" diff --git a/llvm/test/LTO/AArch64/lit.local.cfg b/llvm/test/LTO/AArch64/lit.local.cfg index 304f2436ece15..10d4a0e953ed4 100644 --- a/llvm/test/LTO/AArch64/lit.local.cfg +++ b/llvm/test/LTO/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: - config.unsupported = True +if not "AArch64" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/LTO/ARM/lit.local.cfg b/llvm/test/LTO/ARM/lit.local.cfg index 20e19aeb06f9d..7c23e4f980130 100644 --- a/llvm/test/LTO/ARM/lit.local.cfg +++ b/llvm/test/LTO/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: - config.unsupported = True +if not "ARM" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/LTO/PowerPC/lit.local.cfg b/llvm/test/LTO/PowerPC/lit.local.cfg index a6bb58cf187cc..bb982488eb15e 100644 --- a/llvm/test/LTO/PowerPC/lit.local.cfg +++ b/llvm/test/LTO/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: - config.unsupported = True +if not "PowerPC" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/LTO/Resolution/X86/lit.local.cfg b/llvm/test/LTO/Resolution/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/LTO/Resolution/X86/lit.local.cfg +++ b/llvm/test/LTO/Resolution/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/LTO/X86/lit.local.cfg b/llvm/test/LTO/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/LTO/X86/lit.local.cfg +++ b/llvm/test/LTO/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/MC/AArch64/lit.local.cfg b/llvm/test/MC/AArch64/lit.local.cfg index 5822b72266874..f29a793a69510 100644 --- a/llvm/test/MC/AArch64/lit.local.cfg +++ b/llvm/test/MC/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if 'AArch64' not in config.root.targets: +if "AArch64" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/AMDGPU/lit.local.cfg b/llvm/test/MC/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/MC/AMDGPU/lit.local.cfg +++ b/llvm/test/MC/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/AMDGPU/regression/lit.local.cfg b/llvm/test/MC/AMDGPU/regression/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/MC/AMDGPU/regression/lit.local.cfg +++ b/llvm/test/MC/AMDGPU/regression/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg +++ b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/ARM/lit.local.cfg b/llvm/test/MC/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/MC/ARM/lit.local.cfg +++ b/llvm/test/MC/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/AVR/lit.local.cfg b/llvm/test/MC/AVR/lit.local.cfg index 908656a3ee45d..1724fb233c169 100644 --- a/llvm/test/MC/AVR/lit.local.cfg +++ b/llvm/test/MC/AVR/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AVR' in config.root.targets: +if not "AVR" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/AsmParser/AArch64/lit.local.cfg b/llvm/test/MC/AsmParser/AArch64/lit.local.cfg index 5822b72266874..f29a793a69510 100644 --- a/llvm/test/MC/AsmParser/AArch64/lit.local.cfg +++ b/llvm/test/MC/AsmParser/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if 'AArch64' not in config.root.targets: +if "AArch64" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/AsmParser/lit.local.cfg b/llvm/test/MC/AsmParser/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/AsmParser/lit.local.cfg +++ b/llvm/test/MC/AsmParser/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/BPF/lit.local.cfg b/llvm/test/MC/BPF/lit.local.cfg index a4ab2624af614..0fe841da7d0e7 100644 --- a/llvm/test/MC/BPF/lit.local.cfg +++ b/llvm/test/MC/BPF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/COFF/ARM/lit.local.cfg b/llvm/test/MC/COFF/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/MC/COFF/ARM/lit.local.cfg +++ b/llvm/test/MC/COFF/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/COFF/lit.local.cfg b/llvm/test/MC/COFF/lit.local.cfg index 03c0f9b7992ba..27d4276309791 100644 --- a/llvm/test/MC/COFF/lit.local.cfg +++ b/llvm/test/MC/COFF/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True -config.suffixes.add('.py') +config.suffixes.add(".py") diff --git a/llvm/test/MC/CSKY/lit.local.cfg b/llvm/test/MC/CSKY/lit.local.cfg index 37335bd736850..fd6373bcf6089 100644 --- a/llvm/test/MC/CSKY/lit.local.cfg +++ b/llvm/test/MC/CSKY/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'CSKY' in config.root.targets: +if not "CSKY" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/AArch64/lit.local.cfg b/llvm/test/MC/Disassembler/AArch64/lit.local.cfg index 5822b72266874..f29a793a69510 100644 --- a/llvm/test/MC/Disassembler/AArch64/lit.local.cfg +++ b/llvm/test/MC/Disassembler/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if 'AArch64' not in config.root.targets: +if "AArch64" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg b/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg +++ b/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/ARC/lit.local.cfg b/llvm/test/MC/Disassembler/ARC/lit.local.cfg index fc3d380e30c27..efe5cc5cf0acc 100644 --- a/llvm/test/MC/Disassembler/ARC/lit.local.cfg +++ b/llvm/test/MC/Disassembler/ARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARC' in config.root.targets: +if not "ARC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/ARM/lit.local.cfg b/llvm/test/MC/Disassembler/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/MC/Disassembler/ARM/lit.local.cfg +++ b/llvm/test/MC/Disassembler/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg b/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg +++ b/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/Lanai/lit.local.cfg b/llvm/test/MC/Disassembler/Lanai/lit.local.cfg index f1b8b4f4e21f9..2384de1dd78b7 100644 --- a/llvm/test/MC/Disassembler/Lanai/lit.local.cfg +++ b/llvm/test/MC/Disassembler/Lanai/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Lanai' in config.root.targets: +if not "Lanai" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/M68k/lit.local.cfg b/llvm/test/MC/Disassembler/M68k/lit.local.cfg index a0faa52ae52ba..dd33fe312cdd2 100644 --- a/llvm/test/MC/Disassembler/M68k/lit.local.cfg +++ b/llvm/test/MC/Disassembler/M68k/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'M68k' in config.root.targets: +if not "M68k" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/MSP430/lit.local.cfg b/llvm/test/MC/Disassembler/MSP430/lit.local.cfg index 4ad9495c56fce..f19a7a9c6d0a2 100644 --- a/llvm/test/MC/Disassembler/MSP430/lit.local.cfg +++ b/llvm/test/MC/Disassembler/MSP430/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'MSP430' in config.root.targets: +if not "MSP430" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/Mips/lit.local.cfg b/llvm/test/MC/Disassembler/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/MC/Disassembler/Mips/lit.local.cfg +++ b/llvm/test/MC/Disassembler/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg b/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg +++ b/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/RISCV/lit.local.cfg b/llvm/test/MC/Disassembler/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/MC/Disassembler/RISCV/lit.local.cfg +++ b/llvm/test/MC/Disassembler/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/Sparc/lit.local.cfg b/llvm/test/MC/Disassembler/Sparc/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/MC/Disassembler/Sparc/lit.local.cfg +++ b/llvm/test/MC/Disassembler/Sparc/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg b/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg +++ b/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg b/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg +++ b/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/X86/lit.local.cfg b/llvm/test/MC/Disassembler/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/Disassembler/X86/lit.local.cfg +++ b/llvm/test/MC/Disassembler/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/XCore/lit.local.cfg b/llvm/test/MC/Disassembler/XCore/lit.local.cfg index bb48713fe33e2..26c8076e1ef72 100644 --- a/llvm/test/MC/Disassembler/XCore/lit.local.cfg +++ b/llvm/test/MC/Disassembler/XCore/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'XCore' in config.root.targets: +if not "XCore" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/ELF/AArch64/lit.local.cfg b/llvm/test/MC/ELF/AArch64/lit.local.cfg index 67e2628a8f565..da10366aae58c 100644 --- a/llvm/test/MC/ELF/AArch64/lit.local.cfg +++ b/llvm/test/MC/ELF/AArch64/lit.local.cfg @@ -1,3 +1,3 @@ # We have to reset config.unsupported here because the parent directory is # predicated on 'X86'. -config.unsupported = 'AArch64' not in config.root.targets +config.unsupported = "AArch64" not in config.root.targets diff --git a/llvm/test/MC/ELF/AMDGPU/lit.local.cfg b/llvm/test/MC/ELF/AMDGPU/lit.local.cfg index f6fbcfe436f0e..76ee1b29945ed 100644 --- a/llvm/test/MC/ELF/AMDGPU/lit.local.cfg +++ b/llvm/test/MC/ELF/AMDGPU/lit.local.cfg @@ -1,3 +1,3 @@ # We have to reset config.unsupported here because the parent directory is # predicated on 'X86'. -config.unsupported = 'AMDGPU' not in config.root.targets +config.unsupported = "AMDGPU" not in config.root.targets diff --git a/llvm/test/MC/ELF/ARM/lit.local.cfg b/llvm/test/MC/ELF/ARM/lit.local.cfg index d825cc04bf379..9ff5aec6dfde2 100644 --- a/llvm/test/MC/ELF/ARM/lit.local.cfg +++ b/llvm/test/MC/ELF/ARM/lit.local.cfg @@ -1,3 +1,3 @@ # We have to reset config.unsupported here because the parent directory is # predicated on 'X86'. -config.unsupported = not 'ARM' in config.root.targets +config.unsupported = not "ARM" in config.root.targets diff --git a/llvm/test/MC/ELF/RISCV/lit.local.cfg b/llvm/test/MC/ELF/RISCV/lit.local.cfg index c029408db052a..a3d2298159063 100644 --- a/llvm/test/MC/ELF/RISCV/lit.local.cfg +++ b/llvm/test/MC/ELF/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if 'RISCV' not in config.root.targets: +if "RISCV" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/ELF/lit.local.cfg b/llvm/test/MC/ELF/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/ELF/lit.local.cfg +++ b/llvm/test/MC/ELF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Hexagon/lit.local.cfg b/llvm/test/MC/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/MC/Hexagon/lit.local.cfg +++ b/llvm/test/MC/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Lanai/lit.local.cfg b/llvm/test/MC/Lanai/lit.local.cfg index f1b8b4f4e21f9..2384de1dd78b7 100644 --- a/llvm/test/MC/Lanai/lit.local.cfg +++ b/llvm/test/MC/Lanai/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Lanai' in config.root.targets: +if not "Lanai" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/LoongArch/lit.local.cfg b/llvm/test/MC/LoongArch/lit.local.cfg index 2b5a4893e686f..cc24278acbb41 100644 --- a/llvm/test/MC/LoongArch/lit.local.cfg +++ b/llvm/test/MC/LoongArch/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'LoongArch' in config.root.targets: +if not "LoongArch" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/M68k/lit.local.cfg b/llvm/test/MC/M68k/lit.local.cfg index a0faa52ae52ba..dd33fe312cdd2 100644 --- a/llvm/test/MC/M68k/lit.local.cfg +++ b/llvm/test/MC/M68k/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'M68k' in config.root.targets: +if not "M68k" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/MSP430/lit.local.cfg b/llvm/test/MC/MSP430/lit.local.cfg index 4ad9495c56fce..f19a7a9c6d0a2 100644 --- a/llvm/test/MC/MSP430/lit.local.cfg +++ b/llvm/test/MC/MSP430/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'MSP430' in config.root.targets: +if not "MSP430" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/MachO/AArch64/lit.local.cfg b/llvm/test/MC/MachO/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/MC/MachO/AArch64/lit.local.cfg +++ b/llvm/test/MC/MachO/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/MachO/ARM/lit.local.cfg b/llvm/test/MC/MachO/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/MC/MachO/ARM/lit.local.cfg +++ b/llvm/test/MC/MachO/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/MachO/lit.local.cfg b/llvm/test/MC/MachO/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/MachO/lit.local.cfg +++ b/llvm/test/MC/MachO/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Mips/lit.local.cfg b/llvm/test/MC/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/MC/Mips/lit.local.cfg +++ b/llvm/test/MC/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/PowerPC/lit.local.cfg b/llvm/test/MC/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/MC/PowerPC/lit.local.cfg +++ b/llvm/test/MC/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/RISCV/lit.local.cfg b/llvm/test/MC/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/MC/RISCV/lit.local.cfg +++ b/llvm/test/MC/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Sparc/lit.local.cfg b/llvm/test/MC/Sparc/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/MC/Sparc/lit.local.cfg +++ b/llvm/test/MC/Sparc/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/SystemZ/lit.local.cfg b/llvm/test/MC/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/MC/SystemZ/lit.local.cfg +++ b/llvm/test/MC/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/VE/lit.local.cfg b/llvm/test/MC/VE/lit.local.cfg index b6366779272df..d52a71f497cb2 100644 --- a/llvm/test/MC/VE/lit.local.cfg +++ b/llvm/test/MC/VE/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'VE' in config.root.targets: +if not "VE" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/WebAssembly/lit.local.cfg b/llvm/test/MC/WebAssembly/lit.local.cfg index 0dd8c920ff1eb..4d1c143708f72 100644 --- a/llvm/test/MC/WebAssembly/lit.local.cfg +++ b/llvm/test/MC/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if 'WebAssembly' not in config.root.targets: +if "WebAssembly" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/X86/AlignedBundling/lit.local.cfg b/llvm/test/MC/X86/AlignedBundling/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/X86/AlignedBundling/lit.local.cfg +++ b/llvm/test/MC/X86/AlignedBundling/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/X86/lit.local.cfg b/llvm/test/MC/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/MC/X86/lit.local.cfg +++ b/llvm/test/MC/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/XCOFF/lit.local.cfg b/llvm/test/MC/XCOFF/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/MC/XCOFF/lit.local.cfg +++ b/llvm/test/MC/XCOFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/MC/Xtensa/lit.local.cfg b/llvm/test/MC/Xtensa/lit.local.cfg index 9e0be9979305d..e81bfa773f36a 100644 --- a/llvm/test/MC/Xtensa/lit.local.cfg +++ b/llvm/test/MC/Xtensa/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Xtensa' in config.root.targets: +if not "Xtensa" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Object/AMDGPU/lit.local.cfg b/llvm/test/Object/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Object/AMDGPU/lit.local.cfg +++ b/llvm/test/Object/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Object/ARM/lit.local.cfg b/llvm/test/Object/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Object/ARM/lit.local.cfg +++ b/llvm/test/Object/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Object/BPF/lit.local.cfg b/llvm/test/Object/BPF/lit.local.cfg index a4ab2624af614..0fe841da7d0e7 100644 --- a/llvm/test/Object/BPF/lit.local.cfg +++ b/llvm/test/Object/BPF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Object/Lanai/lit.local.cfg b/llvm/test/Object/Lanai/lit.local.cfg index f1b8b4f4e21f9..2384de1dd78b7 100644 --- a/llvm/test/Object/Lanai/lit.local.cfg +++ b/llvm/test/Object/Lanai/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Lanai' in config.root.targets: +if not "Lanai" 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 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/Object/Mips/lit.local.cfg +++ b/llvm/test/Object/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Object/RISCV/lit.local.cfg b/llvm/test/Object/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Object/RISCV/lit.local.cfg +++ b/llvm/test/Object/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" 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 c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Object/X86/lit.local.cfg +++ b/llvm/test/Object/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg b/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg index 73913bb97a72a..2cdf3e71ead24 100644 --- a/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg +++ b/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg @@ -1,20 +1,22 @@ import os import subprocess + def have_needed_dot_support(): - if not os.path.exists('/usr/bin/dot'): - return False + if not os.path.exists("/usr/bin/dot"): + return False + + try: + ld_cmd = subprocess.Popen( + ["/usr/bin/dot", "-T?"], stdout=subprocess.PIPE, stderr=subprocess.PIPE + ) + ld_err = ld_cmd.stderr.read().decode() + ld_cmd.wait() + except: + return False - try: - ld_cmd = subprocess.Popen(['/usr/bin/dot', '-T?'], - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) - ld_err = ld_cmd.stderr.read().decode() - ld_cmd.wait() - except: - return False + return "pdf" in ld_err - return 'pdf' in ld_err if not have_needed_dot_support(): - config.unsupported = True + config.unsupported = True diff --git a/llvm/test/Other/ChangePrinters/lit.local.cfg b/llvm/test/Other/ChangePrinters/lit.local.cfg index dc21ca5b83242..b0b9f3e385dc0 100644 --- a/llvm/test/Other/ChangePrinters/lit.local.cfg +++ b/llvm/test/Other/ChangePrinters/lit.local.cfg @@ -1,17 +1,22 @@ import os import subprocess + def have_needed_diff_support(): - if not os.path.exists('/usr/bin/diff'): + if not os.path.exists("/usr/bin/diff"): return False ld_cmd = subprocess.Popen( - ['/usr/bin/diff', '--help'], stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, env={'LANG': 'C'}) + ["/usr/bin/diff", "--help"], + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + env={"LANG": "C"}, + ) ld_out = ld_cmd.stdout.read().decode() ld_cmd.wait() - return '-line-format' in ld_out + return "-line-format" in ld_out + if not have_needed_diff_support(): - config.unsupported = True + config.unsupported = True diff --git a/llvm/test/Other/ChangeTesters/lit.local.cfg b/llvm/test/Other/ChangeTesters/lit.local.cfg index 9925c80a7dc58..7ddbf6fa59cc3 100644 --- a/llvm/test/Other/ChangeTesters/lit.local.cfg +++ b/llvm/test/Other/ChangeTesters/lit.local.cfg @@ -1,2 +1,2 @@ -if not os.path.exists('/bin/cat'): - config.unsupported = True +if not os.path.exists("/bin/cat"): + config.unsupported = True diff --git a/llvm/test/Other/X86/lit.local.cfg b/llvm/test/Other/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Other/X86/lit.local.cfg +++ b/llvm/test/Other/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/TableGen/lit.local.cfg b/llvm/test/TableGen/lit.local.cfg index 1dbd83e71d816..6d3ea55784535 100644 --- a/llvm/test/TableGen/lit.local.cfg +++ b/llvm/test/TableGen/lit.local.cfg @@ -1,2 +1,2 @@ -config.suffixes = ['.td'] -config.excludes = ['Common'] +config.suffixes = [".td"] +config.excludes = ["Common"] diff --git a/llvm/test/ThinLTO/X86/lit.local.cfg b/llvm/test/ThinLTO/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/ThinLTO/X86/lit.local.cfg +++ b/llvm/test/ThinLTO/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg +++ b/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg +++ b/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg b/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg index a4ab2624af614..0fe841da7d0e7 100644 --- a/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg +++ b/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'BPF' in config.root.targets: +if not "BPF" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg b/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg +++ b/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg index ec718bb85db9f..7c492428aec76 100644 --- a/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: - config.unsupported = True +if not "AMDGPU" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg index 31902e060f32e..356cb69d78ad3 100644 --- a/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'LoongArch' in targets: +if not "LoongArch" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg index 7aaeda5a5b379..1bb680f6ff710 100644 --- a/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'RISCV' in targets: +if not "RISCV" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg index 9a34b65781549..4f5128663c5ac 100644 --- a/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: - config.unsupported = True +if not "Sparc" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg +++ b/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg b/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg +++ b/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Attributor/lit.local.cfg b/llvm/test/Transforms/Attributor/lit.local.cfg index c114693dd7ed8..58ee923cb7ec5 100644 --- a/llvm/test/Transforms/Attributor/lit.local.cfg +++ b/llvm/test/Transforms/Attributor/lit.local.cfg @@ -1,5 +1,5 @@ # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: from lit.llvm.subst import ToolSubst -fc = ToolSubst('FileCheck', unresolved='fatal') -config.substitutions.insert(0, (fc.regex, 'FileCheck --allow-unused-prefixes')) +fc = ToolSubst("FileCheck", unresolved="fatal") +config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes")) diff --git a/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg b/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg +++ b/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg +++ b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg +++ b/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg index 4a2fc1519cd20..17351748513d9 100644 --- a/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: - config.unsupported = True \ No newline at end of file +if not "RISCV" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg +++ b/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg +++ b/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg +++ b/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg index 6642d28706805..f04a511240924 100644 --- a/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'AArch64' in targets: +if not "AArch64" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg index 4536d08964060..a3c44f656bbee 100644 --- a/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'AMDGPU' in targets: +if not "AMDGPU" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg index b5b98994674d2..a766b1ad247b3 100644 --- a/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg +++ b/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] -if not 'DirectX' in config.root.targets: +if not "DirectX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg +++ b/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg b/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg index cec29af5bbe47..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg @@ -1,3 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True - diff --git a/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg b/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg +++ b/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg b/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg b/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg +++ b/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg b/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg +++ b/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg +++ b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg +++ b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg b/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/AArch64/lit.local.cfg b/llvm/test/Transforms/Inline/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/Inline/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/Inline/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg b/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/ARM/lit.local.cfg b/llvm/test/Transforms/Inline/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/Inline/ARM/lit.local.cfg +++ b/llvm/test/Transforms/Inline/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/ML/lit.local.cfg b/llvm/test/Transforms/Inline/ML/lit.local.cfg index a0661d3a6d385..e8c7912650cb8 100644 --- a/llvm/test/Transforms/Inline/ML/lit.local.cfg +++ b/llvm/test/Transforms/Inline/ML/lit.local.cfg @@ -1,3 +1,3 @@ import sys -config.unsupported = sys.version_info.minor <= 8 +config.unsupported = sys.version_info.minor <= 8 diff --git a/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg b/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg b/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg +++ b/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/Inline/X86/lit.local.cfg b/llvm/test/Transforms/Inline/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/Inline/X86/lit.local.cfg +++ b/llvm/test/Transforms/Inline/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg b/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg b/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg b/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg b/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg b/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstCombine/X86/lit.local.cfg b/llvm/test/Transforms/InstCombine/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/InstCombine/X86/lit.local.cfg +++ b/llvm/test/Transforms/InstCombine/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg +++ b/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg index 304f2436ece15..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: - config.unsupported = True +if not "AArch64" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg index 20e19aeb06f9d..7c23e4f980130 100644 --- a/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg +++ b/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: - config.unsupported = True +if not "ARM" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg index f54903a14088a..17351748513d9 100644 --- a/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: - config.unsupported = True \ No newline at end of file +if not "RISCV" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg +++ b/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/LICM/AArch64/lit.local.cfg b/llvm/test/Transforms/LICM/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/LICM/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/LICM/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg index 675f48e199a05..3cc47fd9d766e 100644 --- a/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg index 2b5a4893e686f..cc24278acbb41 100644 --- a/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg +++ b/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'LoongArch' in config.root.targets: +if not "LoongArch" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg index 675f48e199a05..3cc47fd9d766e 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg index 7aaeda5a5b379..1bb680f6ff710 100644 --- a/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'RISCV' in targets: +if not "RISCV" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg index 675f48e199a05..3cc47fd9d766e 100644 --- a/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg index d82490b75940e..fb85f43211f59 100644 --- a/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg index 4449d2f31d565..c7f949e29fee9 100644 --- a/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True -if not 'VE' in config.root.targets: +if not "VE" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg index bb48713fe33e2..26c8076e1ef72 100644 --- a/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'XCore' in config.root.targets: +if not "XCore" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg b/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg +++ b/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg b/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg +++ b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg +++ b/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg +++ b/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg +++ b/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg b/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg +++ b/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg index 4449d2f31d565..c7f949e29fee9 100644 --- a/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True -if not 'VE' in config.root.targets: +if not "VE" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg index bb48713fe33e2..26c8076e1ef72 100644 --- a/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'XCore' in config.root.targets: +if not "XCore" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg b/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg b/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg +++ b/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SafeStack/X86/lit.local.cfg b/llvm/test/Transforms/SafeStack/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/SafeStack/X86/lit.local.cfg +++ b/llvm/test/Transforms/SafeStack/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg b/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg +++ b/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg index 6642d28706805..f04a511240924 100644 --- a/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'AArch64' in targets: +if not "AArch64" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg index 5a3b8565213de..57e774ec954bd 100644 --- a/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'ARM' in targets: +if not "ARM" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg index a1f0ecbf67927..3e3a537cfcaf0 100644 --- a/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'Hexagon' in targets: +if not "Hexagon" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg index 683bfdccb7426..3113ca52e6f45 100644 --- a/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'Mips' in targets: +if not "Mips" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg index 7aaeda5a5b379..1bb680f6ff710 100644 --- a/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg @@ -1,5 +1,5 @@ -config.suffixes = ['.ll'] +config.suffixes = [".ll"] targets = set(config.root.targets_to_build.split()) -if not 'RISCV' in targets: +if not "RISCV" in targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg index d86c9e6d943aa..4f5128663c5ac 100644 --- a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Sparc' in config.root.targets: +if not "Sparc" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg index 2cb98eb371b21..0d37b86e1c8e6 100644 --- a/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg +++ b/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'NVPTX' in config.root.targets: +if not "NVPTX" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg +++ b/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg b/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg b/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg index 516aae89326ba..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg +++ b/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg b/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg b/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg +++ b/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg +++ b/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg b/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg +++ b/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg b/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg index cc6a7edf05f37..3bed54b1a88d2 100644 --- a/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg +++ b/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg b/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg +++ b/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Verifier/AMDGPU/lit.local.cfg b/llvm/test/Verifier/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/Verifier/AMDGPU/lit.local.cfg +++ b/llvm/test/Verifier/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Verifier/ARM/lit.local.cfg b/llvm/test/Verifier/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/Verifier/ARM/lit.local.cfg +++ b/llvm/test/Verifier/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Verifier/LoongArch/lit.local.cfg b/llvm/test/Verifier/LoongArch/lit.local.cfg index 2b5a4893e686f..cc24278acbb41 100644 --- a/llvm/test/Verifier/LoongArch/lit.local.cfg +++ b/llvm/test/Verifier/LoongArch/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'LoongArch' in config.root.targets: +if not "LoongArch" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Verifier/Mips/lit.local.cfg b/llvm/test/Verifier/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/Verifier/Mips/lit.local.cfg +++ b/llvm/test/Verifier/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/Verifier/SystemZ/lit.local.cfg b/llvm/test/Verifier/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/Verifier/SystemZ/lit.local.cfg +++ b/llvm/test/Verifier/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/UpdateTestChecks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/lit.local.cfg index cdaf1b3464d22..f8ab6b82cde70 100644 --- a/llvm/test/tools/UpdateTestChecks/lit.local.cfg +++ b/llvm/test/tools/UpdateTestChecks/lit.local.cfg @@ -10,39 +10,40 @@ except ImportError: from pipes import quote as shell_quote -def add_update_script_substition(name, python_exe=config.python_executable, - extra_args=''): - assert name.startswith('%') - script_path = os.path.join(config.llvm_src_root, 'utils', name[1:] + '.py') +def add_update_script_substition( + name, python_exe=config.python_executable, extra_args="" +): + assert name.startswith("%") + script_path = os.path.join(config.llvm_src_root, "utils", name[1:] + ".py") assert os.path.isfile(script_path) # Specify an explicit default version in UTC tests, so that the --version # embedded in UTC_ARGS does not change in all test expectations every time # the default is bumped. - extra_args += ' --version=1' + extra_args += " --version=1" config.substitutions.append( - (name, "'%s' %s %s" % (python_exe, script_path, extra_args))) + (name, "'%s' %s %s" % (python_exe, script_path, extra_args)) + ) config.test_format = lit.formats.ShTest(execute_external=False) -config.suffixes = ['.test'] +config.suffixes = [".test"] -llc_path = os.path.join(config.llvm_tools_dir, 'llc') +llc_path = os.path.join(config.llvm_tools_dir, "llc") if os.path.isfile(llc_path): - config.available_features.add('llc-binary') - llc_arg = '--llc-binary ' + shell_quote(llc_path) - add_update_script_substition('%update_llc_test_checks', extra_args=llc_arg) - add_update_script_substition('%update_mir_test_checks', extra_args=llc_arg) + config.available_features.add("llc-binary") + llc_arg = "--llc-binary " + shell_quote(llc_path) + add_update_script_substition("%update_llc_test_checks", extra_args=llc_arg) + add_update_script_substition("%update_mir_test_checks", extra_args=llc_arg) -opt_path = os.path.join(config.llvm_tools_dir, 'opt') +opt_path = os.path.join(config.llvm_tools_dir, "opt") if os.path.isfile(opt_path): - config.available_features.add('opt-binary') - opt_arg = '--opt-binary ' + shell_quote(opt_path) - add_update_script_substition('%update_test_checks', extra_args=opt_arg) - add_update_script_substition('%update_analyze_test_checks', - extra_args=opt_arg) + config.available_features.add("opt-binary") + opt_arg = "--opt-binary " + shell_quote(opt_path) + add_update_script_substition("%update_test_checks", extra_args=opt_arg) + add_update_script_substition("%update_analyze_test_checks", extra_args=opt_arg) -llvm_mca_path = os.path.join(config.llvm_tools_dir, 'llvm-mca') +llvm_mca_path = os.path.join(config.llvm_tools_dir, "llvm-mca") if os.path.isfile(llvm_mca_path): - config.available_features.add('llvm-mca-binary') - mca_arg = '--llvm-mca-binary ' + shell_quote(llvm_mca_path) - add_update_script_substition('%update_test_checks', extra_args=mca_arg) + config.available_features.add("llvm-mca-binary") + mca_arg = "--llvm-mca-binary " + shell_quote(llvm_mca_path) + add_update_script_substition("%update_test_checks", extra_args=mca_arg) diff --git a/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg index 50d9aa9c17180..13223e9b4f75e 100644 --- a/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg +++ b/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg @@ -1,3 +1,3 @@ # These tests require opt. -if 'opt-binary' not in config.available_features: +if "opt-binary" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg index 60eb2b6ae5219..66bc43ef968eb 100644 --- a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg +++ b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg @@ -1,3 +1,3 @@ # These tests require llc. -if 'llc-binary' not in config.available_features: +if "llc-binary" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg index 60eb2b6ae5219..66bc43ef968eb 100644 --- a/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg +++ b/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg @@ -1,3 +1,3 @@ # These tests require llc. -if 'llc-binary' not in config.available_features: +if "llc-binary" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg index f6860f438a408..75a032d5c14d8 100644 --- a/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg +++ b/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg @@ -1,3 +1,3 @@ # These tests require llc. -if 'opt-binary' not in config.available_features: +if "opt-binary" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/dsymutil/ARM/lit.local.cfg b/llvm/test/tools/dsymutil/ARM/lit.local.cfg index aa8303bc7c919..d951f4ff14d4e 100644 --- a/llvm/test/tools/dsymutil/ARM/lit.local.cfg +++ b/llvm/test/tools/dsymutil/ARM/lit.local.cfg @@ -1,10 +1,12 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True if config.llvm_use_sanitizer: - suppr = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'suppressions.txt') - config.environment['LSAN_OPTIONS'] = 'suppressions={}'.format(suppr) + suppr = os.path.join( + os.path.dirname(os.path.realpath(__file__)), "suppressions.txt" + ) + config.environment["LSAN_OPTIONS"] = "suppressions={}".format(suppr) -config.suffixes = ['.test', '.cpp', '.c'] +config.suffixes = [".test", ".cpp", ".c"] diff --git a/llvm/test/tools/dsymutil/X86/lit.local.cfg b/llvm/test/tools/dsymutil/X86/lit.local.cfg index 74244134270fd..96ccdeb5793b9 100644 --- a/llvm/test/tools/dsymutil/X86/lit.local.cfg +++ b/llvm/test/tools/dsymutil/X86/lit.local.cfg @@ -1,10 +1,12 @@ import os -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True if config.llvm_use_sanitizer: - suppr = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'suppressions.txt') - config.environment['LSAN_OPTIONS'] = 'suppressions={}'.format(suppr) + suppr = os.path.join( + os.path.dirname(os.path.realpath(__file__)), "suppressions.txt" + ) + config.environment["LSAN_OPTIONS"] = "suppressions={}".format(suppr) -config.suffixes = ['.test', '.cpp', '.m', '.s'] +config.suffixes = [".test", ".cpp", ".m", ".s"] diff --git a/llvm/test/tools/dxil-dis/lit.local.cfg b/llvm/test/tools/dxil-dis/lit.local.cfg index e31f8f3cb6ecc..7b6819e0b406a 100644 --- a/llvm/test/tools/dxil-dis/lit.local.cfg +++ b/llvm/test/tools/dxil-dis/lit.local.cfg @@ -1,3 +1,3 @@ if not config.dxil_tests: - config.unsupported = True -config.suffixes = ['.ll'] + config.unsupported = True +config.suffixes = [".ll"] diff --git a/llvm/test/tools/gold/PowerPC/lit.local.cfg b/llvm/test/tools/gold/PowerPC/lit.local.cfg index d968938d24ce7..f4de860736551 100644 --- a/llvm/test/tools/gold/PowerPC/lit.local.cfg +++ b/llvm/test/tools/gold/PowerPC/lit.local.cfg @@ -1,3 +1,2 @@ -if (not 'ld_plugin' in config.available_features or - not 'PowerPC' in config.root.targets): - config.unsupported = True +if not "ld_plugin" in config.available_features or not "PowerPC" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/tools/gold/X86/lit.local.cfg b/llvm/test/tools/gold/X86/lit.local.cfg index ddcd48ca470d8..fb38bbb12d34f 100644 --- a/llvm/test/tools/gold/X86/lit.local.cfg +++ b/llvm/test/tools/gold/X86/lit.local.cfg @@ -1,3 +1,2 @@ -if (not 'ld_plugin' in config.available_features or - not 'X86' in config.root.targets): - config.unsupported = True +if not "ld_plugin" in config.available_features or not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/tools/gold/X86/v1.12/lit.local.cfg b/llvm/test/tools/gold/X86/v1.12/lit.local.cfg index 7f1b6137cc0b8..a85cce5931fdb 100644 --- a/llvm/test/tools/gold/X86/v1.12/lit.local.cfg +++ b/llvm/test/tools/gold/X86/v1.12/lit.local.cfg @@ -1,28 +1,32 @@ import re import subprocess + def is_gold_v1_12_linker_available(): - if not config.gold_executable: - return False - try: - ld_cmd = subprocess.Popen([config.gold_executable, '-v'], - stdout = subprocess.PIPE, - stderr = subprocess.PIPE) - ld_out, _ = ld_cmd.communicate() - ld_out = ld_out.decode() - except: - return False + if not config.gold_executable: + return False + try: + ld_cmd = subprocess.Popen( + [config.gold_executable, "-v"], + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + ) + ld_out, _ = ld_cmd.communicate() + ld_out = ld_out.decode() + except: + return False + + match = re.search(r"GNU gold \(.*\) (\d+)\.(\d+)", ld_out) + if not match: + return False + major = int(match.group(1)) + minor = int(match.group(2)) + if major < 1 or (major == 1 and minor < 12): + return False - match = re.search(r'GNU gold \(.*\) (\d+)\.(\d+)', ld_out) - if not match: - return False - major = int(match.group(1)) - minor = int(match.group(2)) - if major < 1 or (major == 1 and minor < 12): - return False + return True - return True if not is_gold_v1_12_linker_available(): - config.unsupported = True + config.unsupported = True diff --git a/llvm/test/tools/gold/X86/v1.16/lit.local.cfg b/llvm/test/tools/gold/X86/v1.16/lit.local.cfg index 9dbf14be0b676..2b9376e68cf62 100644 --- a/llvm/test/tools/gold/X86/v1.16/lit.local.cfg +++ b/llvm/test/tools/gold/X86/v1.16/lit.local.cfg @@ -1,28 +1,32 @@ import re import subprocess + def is_gold_v1_16_linker_available(): - if not config.gold_executable: - return False - try: - ld_cmd = subprocess.Popen([config.gold_executable, '-v'], - stdout = subprocess.PIPE, - stderr = subprocess.PIPE) - ld_out, _ = ld_cmd.communicate() - ld_out = ld_out.decode() - except: - return False + if not config.gold_executable: + return False + try: + ld_cmd = subprocess.Popen( + [config.gold_executable, "-v"], + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + ) + ld_out, _ = ld_cmd.communicate() + ld_out = ld_out.decode() + except: + return False + + match = re.search(r"GNU gold \(.*\) (\d+)\.(\d+)", ld_out) + if not match: + return False + major = int(match.group(1)) + minor = int(match.group(2)) + if major < 1 or (major == 1 and minor < 16): + return False - match = re.search(r'GNU gold \(.*\) (\d+)\.(\d+)', ld_out) - if not match: - return False - major = int(match.group(1)) - minor = int(match.group(2)) - if major < 1 or (major == 1 and minor < 16): - return False + return True - return True if not is_gold_v1_16_linker_available(): - config.unsupported = True + config.unsupported = True diff --git a/llvm/test/tools/gold/lit.local.cfg b/llvm/test/tools/gold/lit.local.cfg index 6d2835ac8be64..aa07261d10d3e 100644 --- a/llvm/test/tools/gold/lit.local.cfg +++ b/llvm/test/tools/gold/lit.local.cfg @@ -1,7 +1,7 @@ -if (not 'ld_plugin' in config.available_features): - config.unsupported = True +if not "ld_plugin" in config.available_features: + config.unsupported = True # gold can't load instrumented plugin. -for san in ['asan', 'msan', 'ubsan']: - if (san in config.available_features): - config.unsupported = True +for san in ["asan", "msan", "ubsan"]: + if san in config.available_features: + config.unsupported = True diff --git a/llvm/test/tools/llvm-as/lit.local.cfg b/llvm/test/tools/llvm-as/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-as/lit.local.cfg +++ b/llvm/test/tools/llvm-as/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg +++ b/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-cov/lit.local.cfg b/llvm/test/tools/llvm-cov/lit.local.cfg index 8b6fe62772f32..4ca2e070c3596 100644 --- a/llvm/test/tools/llvm-cov/lit.local.cfg +++ b/llvm/test/tools/llvm-cov/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.test', '.m', '.cpp', '.c', '.h'] +config.suffixes = [".test", ".m", ".cpp", ".c", ".h"] diff --git a/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg b/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dlltool/lit.local.cfg b/llvm/test/tools/llvm-dlltool/lit.local.cfg index 0fe6ca6f1e871..ac138536e4684 100644 --- a/llvm/test/tools/llvm-dlltool/lit.local.cfg +++ b/llvm/test/tools/llvm-dlltool/lit.local.cfg @@ -1 +1 @@ -config.suffixes.add('.def') +config.suffixes.add(".def") diff --git a/llvm/test/tools/llvm-driver/lit.local.cfg b/llvm/test/tools/llvm-driver/lit.local.cfg index 940e462176211..21771693b720e 100644 --- a/llvm/test/tools/llvm-driver/lit.local.cfg +++ b/llvm/test/tools/llvm-driver/lit.local.cfg @@ -1,4 +1,4 @@ from lit.llvm import llvm_config if llvm_config.use_lld(required=False): - config.available_features.add('lld') + config.available_features.add("lld") diff --git a/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg b/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg b/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg index 5ea762c840494..0f1b1ccd1fc21 100644 --- a/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg +++ b/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True -config.suffixes = ['.s'] +config.suffixes = [".s"] diff --git a/llvm/test/tools/llvm-dwp/X86/lit.local.cfg b/llvm/test/tools/llvm-dwp/X86/lit.local.cfg index 05f8b38b3346d..38cc3fec19997 100644 --- a/llvm/test/tools/llvm-dwp/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-dwp/X86/lit.local.cfg @@ -1,4 +1,4 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True -config.suffixes = ['.test', '.cpp', '.m', '.s'] +config.suffixes = [".test", ".cpp", ".m", ".s"] diff --git a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg index c1c887bfcc478..55b3963f60312 100644 --- a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg @@ -1,6 +1,6 @@ -if not ('AArch64' in config.root.targets): +if not ("AArch64" in config.root.targets): # We need support for AArch64. config.unsupported = True -elif not ('aarch64' in config.root.host_triple): +elif not ("aarch64" in config.root.host_triple): # We need to be running on an PPC host. config.unsupported = True diff --git a/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg b/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg index 9e3b40229e9ae..220d3065b7da1 100644 --- a/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg @@ -1,3 +1,3 @@ -if not ('Mips' in config.root.targets): +if not ("Mips" in config.root.targets): # We need support for Mips. config.unsupported = True diff --git a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg index 2fb4364f3721c..a33b69e3523a8 100644 --- a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg @@ -1,6 +1,6 @@ -if not ('PowerPC' in config.root.targets): +if not ("PowerPC" in config.root.targets): # We need support for PowerPC. config.unsupported = True -elif not ('powerpc' in config.root.host_triple): +elif not ("powerpc" in config.root.host_triple): # We need to be running on an PPC host. config.unsupported = True diff --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg index 7d6abe8807057..23890497d8376 100644 --- a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg @@ -1,6 +1,6 @@ -if not ('X86' in config.root.targets): +if not ("X86" in config.root.targets): # We need support for X86. config.unsupported = True -elif not ('x86_64' in config.root.host_triple): +elif not ("x86_64" in config.root.host_triple): # We need to be running on an X86 host. config.unsupported = True diff --git a/llvm/test/tools/llvm-exegesis/lit.local.cfg b/llvm/test/tools/llvm-exegesis/lit.local.cfg index 22b01609cf2a0..30ed138ba797f 100644 --- a/llvm/test/tools/llvm-exegesis/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/lit.local.cfg @@ -5,7 +5,7 @@ import lit.util def can_execute_generated_snippets(arch): is_host_arch = arch in config.root.host_triple # 'native' feature is defined as "host arch == default triple arch" - is_native_codegen = 'native' in config.available_features + is_native_codegen = "native" in config.available_features return is_host_arch and is_native_codegen @@ -13,31 +13,36 @@ def can_use_perf_counters(mode, extra_options=[]): # We need libpfm to be installed and allow reading perf counters. We can # only know that at runtime, so we try to measure an empty code snippet # and bail out on error. - llvm_exegesis_exe = lit.util.which('llvm-exegesis', config.llvm_tools_dir) + llvm_exegesis_exe = lit.util.which("llvm-exegesis", config.llvm_tools_dir) if llvm_exegesis_exe is None: - print('could not find llvm-exegesis') - return False + print("could not find llvm-exegesis") + return False try: return_code = subprocess.call( - [llvm_exegesis_exe, '-mode', mode, '-snippets-file', '/dev/null'] + extra_options, - stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + [llvm_exegesis_exe, "-mode", mode, "-snippets-file", "/dev/null"] + + extra_options, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) return return_code == 0 except OSError: - print('could not exec llvm-exegesis') + print("could not exec llvm-exegesis") return False -for arch in ['aarch64', 'mips', 'powerpc', 'x86_64']: +for arch in ["aarch64", "mips", "powerpc", "x86_64"]: if can_execute_generated_snippets(arch): - config.available_features.add('exegesis-can-execute-%s' % arch) + config.available_features.add("exegesis-can-execute-%s" % arch) -if can_use_perf_counters('latency'): - config.available_features.add('exegesis-can-measure-latency') +if can_use_perf_counters("latency"): + config.available_features.add("exegesis-can-measure-latency") -if can_use_perf_counters('uops'): - config.available_features.add('exegesis-can-measure-uops') +if can_use_perf_counters("uops"): + config.available_features.add("exegesis-can-measure-uops") -if can_execute_generated_snippets('x86_64'): +if can_execute_generated_snippets("x86_64"): # Check for support of LBR format with cycles. - if can_use_perf_counters('latency', ['-x86-lbr-sample-period', '123', '-repetition-mode', 'loop']): - config.available_features.add('exegesis-can-measure-latency-lbr') + if can_use_perf_counters( + "latency", ["-x86-lbr-sample-period", "123", "-repetition-mode", "loop"] + ): + config.available_features.add("exegesis-can-measure-latency-lbr") diff --git a/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg b/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg index 8a995e36a127d..8790875978c19 100644 --- a/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not ('ARM' in config.root.targets and 'AArch64' in config.root.targets): +if not ("ARM" in config.root.targets and "AArch64" in config.root.targets): config.unsupported = True diff --git a/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg b/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-ifs/lit.local.cfg b/llvm/test/tools/llvm-ifs/lit.local.cfg index 88631d55fc9b7..77b8b56c7c7e4 100644 --- a/llvm/test/tools/llvm-ifs/lit.local.cfg +++ b/llvm/test/tools/llvm-ifs/lit.local.cfg @@ -1 +1 @@ -config.suffixes = ['.ll', '.s', '.test', '.yaml', '.ifs'] +config.suffixes = [".ll", ".s", ".test", ".yaml", ".ifs"] diff --git a/llvm/test/tools/llvm-lib/lit.local.cfg b/llvm/test/tools/llvm-lib/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-lib/lit.local.cfg +++ b/llvm/test/tools/llvm-lib/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-lto2/X86/lit.local.cfg b/llvm/test/tools/llvm-lto2/X86/lit.local.cfg index afde89be896d4..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-lto2/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-lto2/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/tools/llvm-mc/lit.local.cfg b/llvm/test/tools/llvm-mc/lit.local.cfg index 00173edc899f7..dfb1be44af866 100644 --- a/llvm/test/tools/llvm-mc/lit.local.cfg +++ b/llvm/test/tools/llvm-mc/lit.local.cfg @@ -1,3 +1,3 @@ # Requires a non-empty default triple for these tests -if 'object-emission' not in config.available_features: +if "object-emission" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg b/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/ARM/lit.local.cfg b/llvm/test/tools/llvm-mca/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-mca/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg b/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg b/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg index 2f3cf7d3f0432..f9dd98a21cc3e 100644 --- a/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'SystemZ' in config.root.targets: +if not "SystemZ" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/X86/lit.local.cfg b/llvm/test/tools/llvm-mca/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-mca/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-mca/lit.local.cfg b/llvm/test/tools/llvm-mca/lit.local.cfg index eb099c463f00a..43b85ac953b29 100644 --- a/llvm/test/tools/llvm-mca/lit.local.cfg +++ b/llvm/test/tools/llvm-mca/lit.local.cfg @@ -1,3 +1,3 @@ # Requires a non-empty default triple for these tests -if 'default_triple' not in config.available_features: +if "default_triple" not in config.available_features: config.unsupported = True diff --git a/llvm/test/tools/llvm-ml/lit.local.cfg b/llvm/test/tools/llvm-ml/lit.local.cfg index 39c93fcfcb53e..e7b7d78f22aca 100644 --- a/llvm/test/tools/llvm-ml/lit.local.cfg +++ b/llvm/test/tools/llvm-ml/lit.local.cfg @@ -1,6 +1,6 @@ -if not ('X86' in config.root.targets): +if not ("X86" in config.root.targets): # We need support for X86. config.unsupported = True -config.suffixes.add('.asm') -config.suffixes.add('.blah') +config.suffixes.add(".asm") +config.suffixes.add(".blah") diff --git a/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg b/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-nm/ARM/lit.local.cfg b/llvm/test/tools/llvm-nm/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-nm/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-nm/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-nm/X86/lit.local.cfg b/llvm/test/tools/llvm-nm/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-nm/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-nm/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-nm/wasm/lit.local.cfg b/llvm/test/tools/llvm-nm/wasm/lit.local.cfg index 743473517cd0f..d5f39ab4dbc8c 100644 --- a/llvm/test/tools/llvm-nm/wasm/lit.local.cfg +++ b/llvm/test/tools/llvm-nm/wasm/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'WebAssembly' in config.root.targets: +if not "WebAssembly" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg index 2a665f06be72e..7c492428aec76 100644 --- a/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AMDGPU' in config.root.targets: +if not "AMDGPU" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg index 78cc7b22d238f..d2975c4388f13 100644 --- a/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg @@ -1,7 +1,7 @@ import platform -if not 'Hexagon' in config.root.targets: +if not "Hexagon" in config.root.targets: config.unsupported = True -if platform.system() in ['Windows']: - config.unsupported = True +if platform.system() in ["Windows"]: + config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg index 2e12e267e0ac0..a79c37a3f14c0 100644 --- a/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg @@ -1,4 +1,4 @@ import platform -if not 'Lanai' in config.root.targets: +if not "Lanai" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg index 7d12f7a9c5649..b997811996b31 100644 --- a/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'Mips' in config.root.targets: +if not "Mips" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg index b77510721e100..bb982488eb15e 100644 --- a/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: - config.unsupported = True +if not "PowerPC" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/X86/lit.local.cfg b/llvm/test/tools/llvm-objdump/X86/lit.local.cfg index c8625f4d9d248..42bf50dcc13c3 100644 --- a/llvm/test/tools/llvm-objdump/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/X86/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg b/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg index 0dd8c920ff1eb..4d1c143708f72 100644 --- a/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg @@ -1,2 +1,2 @@ -if 'WebAssembly' not in config.root.targets: +if "WebAssembly" not in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-pdbutil/lit.local.cfg b/llvm/test/tools/llvm-pdbutil/lit.local.cfg index 5f1f826babb2b..007f55d79bba8 100644 --- a/llvm/test/tools/llvm-pdbutil/lit.local.cfg +++ b/llvm/test/tools/llvm-pdbutil/lit.local.cfg @@ -1,2 +1,2 @@ if config.have_dia_sdk: - config.available_features.add("diasdk") + config.available_features.add("diasdk") diff --git a/llvm/test/tools/llvm-profdata/lit.local.cfg b/llvm/test/tools/llvm-profdata/lit.local.cfg index d44913a8239cc..2b1defcf58f64 100644 --- a/llvm/test/tools/llvm-profdata/lit.local.cfg +++ b/llvm/test/tools/llvm-profdata/lit.local.cfg @@ -1 +1 @@ -config.suffixes.add('.proftext') +config.suffixes.add(".proftext") diff --git a/llvm/test/tools/llvm-profgen/lit.local.cfg b/llvm/test/tools/llvm-profgen/lit.local.cfg index 197150e220e86..c628a80ff368d 100644 --- a/llvm/test/tools/llvm-profgen/lit.local.cfg +++ b/llvm/test/tools/llvm-profgen/lit.local.cfg @@ -1,7 +1,7 @@ import subprocess import lit.util -config.suffixes = ['.test', '.ll', '.s', '.yaml'] +config.suffixes = [".test", ".ll", ".s", ".yaml"] -if not 'X86' in config.root.targets: - config.unsupported = True +if not "X86" in config.root.targets: + config.unsupported = True diff --git a/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg index 7184443994b69..10d4a0e953ed4 100644 --- a/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg +++ b/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'AArch64' in config.root.targets: +if not "AArch64" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg index 236e1d3441665..7c23e4f980130 100644 --- a/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg +++ b/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'ARM' in config.root.targets: +if not "ARM" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg index 4ad9495c56fce..f19a7a9c6d0a2 100644 --- a/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg +++ b/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'MSP430' in config.root.targets: +if not "MSP430" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg index c63820126f8ca..17351748513d9 100644 --- a/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg +++ b/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'RISCV' in config.root.targets: +if not "RISCV" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg index 091332439b186..bb982488eb15e 100644 --- a/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg +++ b/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg @@ -1,2 +1,2 @@ -if not 'PowerPC' in config.root.targets: +if not "PowerPC" in config.root.targets: config.unsupported = True diff --git a/llvm/test/tools/lto/lit.local.cfg b/llvm/test/tools/lto/lit.local.cfg index 5ca293be58c35..d9769af93d2f4 100644 --- a/llvm/test/tools/lto/lit.local.cfg +++ b/llvm/test/tools/lto/lit.local.cfg @@ -1,6 +1,6 @@ -if not ('ld64_plugin' in config.available_features and 'X86' in config.root.targets): +if not ("ld64_plugin" in config.available_features and "X86" in config.root.targets): config.unsupported = True # These tests invoke ld64 from the system, which is not leak-free if "Address" in config.llvm_use_sanitizer: - config.environment['ASAN_OPTIONS'] = 'detect_leaks=0' + config.environment["ASAN_OPTIONS"] = "detect_leaks=0" diff --git a/llvm/test/tools/opt-viewer/lit.local.cfg b/llvm/test/tools/opt-viewer/lit.local.cfg index 90f09fed2f0bb..d181a93eb8464 100644 --- a/llvm/test/tools/opt-viewer/lit.local.cfg +++ b/llvm/test/tools/opt-viewer/lit.local.cfg @@ -1,10 +1,10 @@ import sys -if 'have_opt_viewer_modules' not in config.available_features: +if "have_opt_viewer_modules" not in config.available_features: config.unsupported = True # Windows has different multiprocessing behavior than non-Windows, which causes # all of the tests to fail presently under Windows. Disable this until those # can be resolved. -if sys.platform == 'win32': +if sys.platform == "win32": config.unsupported = True diff --git a/llvm/test/tools/sancov/lit.local.cfg b/llvm/test/tools/sancov/lit.local.cfg index 456c28b3cef67..e52b44e619ca3 100644 --- a/llvm/test/tools/sancov/lit.local.cfg +++ b/llvm/test/tools/sancov/lit.local.cfg @@ -1,4 +1,4 @@ # These tests require a registered x86 backend. -if not 'X86' in config.root.targets: +if not "X86" in config.root.targets: config.unsupported = True diff --git a/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg b/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg index 631cb602b0d9b..8c60bb72ea442 100644 --- a/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg +++ b/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg @@ -1,4 +1,4 @@ -config.suffixes = ['.py'] +config.suffixes = [".py"] # Check that the arbitrary config values in our parent was inherited. -assert hasattr(config, 'an_extra_variable') +assert hasattr(config, "an_extra_variable") diff --git a/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg index 5e87c72991983..4cc234df4fcaa 100644 --- a/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg +++ b/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg @@ -1,2 +1,3 @@ import lit.formats + config.test_format = lit.formats.ShTest(execute_external=True) diff --git a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg index 5e87c72991983..4cc234df4fcaa 100644 --- a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg +++ b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg @@ -1,2 +1,3 @@ import lit.formats + config.test_format = lit.formats.ShTest(execute_external=True) diff --git a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg index b76b7a24c99e4..3002a11ed23c5 100644 --- a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg +++ b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg @@ -1,2 +1,3 @@ import lit.formats + config.test_format = lit.formats.ShTest(execute_external=False)