2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-ifs/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
config.suffixes = ['.ll', '.s', '.test', '.yaml', '.ifs']
config.suffixes = [".ll", ".s", ".test", ".yaml", ".ifs"]
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-lib/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
4 changes: 2 additions & 2 deletions llvm/test/tools/llvm-lto2/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
config.unsupported = True
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mc/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AArch64' in config.root.targets:
if not "AArch64" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AMDGPU' in config.root.targets:
if not "AMDGPU" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/ARM/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'ARM' in config.root.targets:
if not "ARM" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'SystemZ' in config.root.targets:
if not "SystemZ" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-mca/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions llvm/test/tools/llvm-ml/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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")
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-nm/AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AArch64' in config.root.targets:
if not "AArch64" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-nm/ARM/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'ARM' in config.root.targets:
if not "ARM" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-nm/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-nm/wasm/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'WebAssembly' in config.root.targets:
if not "WebAssembly" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AMDGPU' in config.root.targets:
if not "AMDGPU" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AArch64' in config.root.targets:
if not "AArch64" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AMDGPU' in config.root.targets:
if not "AMDGPU" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'ARM' in config.root.targets:
if not "ARM" in config.root.targets:
config.unsupported = True
6 changes: 3 additions & 3 deletions llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import platform

if not 'Lanai' in config.root.targets:
if not "Lanai" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'Mips' in config.root.targets:
if not "Mips" in config.root.targets:
config.unsupported = True
4 changes: 2 additions & 2 deletions llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'PowerPC' in config.root.targets:
config.unsupported = True
if not "PowerPC" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'RISCV' in config.root.targets:
if not "RISCV" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AArch64' in config.root.targets:
if not "AArch64" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'ARM' in config.root.targets:
if not "ARM" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/MachO/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/X86/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'X86' in config.root.targets:
if not "X86" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'PowerPC' in config.root.targets:
if not "PowerPC" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-objdump/wasm/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if 'WebAssembly' not in config.root.targets:
if "WebAssembly" not in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-pdbutil/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if config.have_dia_sdk:
config.available_features.add("diasdk")
config.available_features.add("diasdk")
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-profdata/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
config.suffixes.add('.proftext')
config.suffixes.add(".proftext")
6 changes: 3 additions & 3 deletions llvm/test/tools/llvm-profgen/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'AArch64' in config.root.targets:
if not "AArch64" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'ARM' in config.root.targets:
if not "ARM" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'MSP430' in config.root.targets:
if not "MSP430" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'RISCV' in config.root.targets:
if not "RISCV" in config.root.targets:
config.unsupported = True
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not 'PowerPC' in config.root.targets:
if not "PowerPC" in config.root.targets:
config.unsupported = True
4 changes: 2 additions & 2 deletions llvm/test/tools/lto/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions llvm/test/tools/opt-viewer/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion llvm/test/tools/sancov/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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")
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import lit.formats

config.test_format = lit.formats.ShTest(execute_external=True)
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import lit.formats

config.test_format = lit.formats.ShTest(execute_external=True)
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import lit.formats

config.test_format = lit.formats.ShTest(execute_external=False)