<commit_before>#!/bin/sh

system_root=`cygpath "$SYSTEMROOT"`
export PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM"

exec_dir=$(dirname $0)

"$exec_dir/../../../third_party/python_24/python.exe" \
    "$exec_dir/run_webkit_tests.py" "$@"<commit_msg>Make run_webkit_tests.sh multi-platform. This is part of getting LayoutTests running on Linux. BUG=4281<commit_after>#!/bin/sh

exec_dir=$(dirname $0)

if [ "$OSTYPE" = "cygwin" ]; then
  system_root=`cygpath "$SYSTEMROOT"`
  PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM"
  export PATH
  PYTHON_PROG="$exec_dir/../../../third_party/python_24/python.exe"
else
  PYTHON_PROG=python
  # When not using the included python, we don't get automatic site.py paths.
  # Specifically, run_webkit_tests needs the paths in:
  # third_party/python_24/Lib/site-packages/google.pth
  PYTHONPATH="$(readlink -f ${exec_dir}/../../../tools/python):$PYTHONPATH"
  export PYTHONPATH
fi

"$PYTHON_PROG" "$exec_dir/run_webkit_tests.py" "$@"
{'fraction_non_alphanumeric': 0.16682832201745879, 'fraction_numerical': 0.019398642095053348, 'mean_word_length': 5.070588235294117, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4730981', 'n_tokens_mistral': 415, 'n_tokens_neox': 377, 'n_words': 63}