<commit_before># -*- Python -*-

# Configuration file for the 'lit' test runner.

import os
import shlex

import lit.formats

# name: The name of this test suite.
config.name = 'lldb-Suite'

# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.py']

# test_source_root: The root path where tests are located.
# test_exec_root: The root path where tests should be run.
config.test_source_root = os.path.join(config.lldb_src_root, 'packages',
                                       'Python', 'lldbsuite', 'test')
config.test_exec_root = config.test_source_root

# macOS flags needed for LLDB built with address sanitizer.
if 'Address' in config.llvm_use_sanitizer and \
   'Darwin' in config.host_os and \
   'x86' in config.host_triple:
  import subprocess
  resource_dir = subprocess.check_output(
    config.cmake_cxx_compiler +' -print-resource-dir', shell=True).strip()
  runtime = os.path.join(resource_dir, 'lib', 'darwin',
                         'libclang_rt.asan_osx_dynamic.dylib')
  config.environment['ASAN_OPTIONS'] = \
    'detect_stack_use_after_return=1:container_overflow=0'
  config.environment['DYLD_INSERT_LIBRARIES'] = runtime

# Build dotest command.
dotest_cmd = [config.dotest_path, '-q']<commit_msg>Remove ineffective (misspelled) sanitizer option<commit_after># -*- Python -*-

# Configuration file for the 'lit' test runner.

import os
import shlex

import lit.formats

# name: The name of this test suite.
config.name = 'lldb-Suite'

# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.py']

# test_source_root: The root path where tests are located.
# test_exec_root: The root path where tests should be run.
config.test_source_root = os.path.join(config.lldb_src_root, 'packages',
                                       'Python', 'lldbsuite', 'test')
config.test_exec_root = config.test_source_root

# macOS flags needed for LLDB built with address sanitizer.
if 'Address' in config.llvm_use_sanitizer and \
   'Darwin' in config.host_os and \
   'x86' in config.host_triple:
  import subprocess
  resource_dir = subprocess.check_output(
    config.cmake_cxx_compiler +' -print-resource-dir', shell=True).strip()
  runtime = os.path.join(resource_dir, 'lib', 'darwin',
                         'libclang_rt.asan_osx_dynamic.dylib')
  config.environment['ASAN_OPTIONS'] = \
    'detect_stack_use_after_return=1'
  config.environment['DYLD_INSERT_LIBRARIES'] = runtime

# Build dotest command.
dotest_cmd = [config.dotest_path, '-q']
{'fraction_non_alphanumeric': 0.1070578905630452, 'fraction_numerical': 0.0027755749405233942, 'mean_word_length': 3.7335834896810507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6566307', 'n_tokens_mistral': 842, 'n_tokens_neox': 819, 'n_words': 213}