<commit_before>python2.3 setup.py -q test
python2.4 setup.py -q test
python2.5 setup.py -q test
python2.6 setup.py -q test
python2.7 setup.py -q test

rm -rf build
python3.1 setup.py -q test
<commit_msg>make sure tests.sh return the exit code, and nicer outputs<commit_after>#!/bin/sh
echo -n "Running tests for Python 2.3..."
python2.3 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
    echo "Failed"
    exit $1
else
    echo "Success"
fi

echo -n "Running tests for Python 2.4..."
python2.4 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
    echo "Failed"
    exit $1
else
    echo "Success"
fi

echo -n "Running tests for Python 2.5..."
python2.5 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
    echo "Failed"
    exit $1
else
    echo "Success"
fi

echo -n "Running tests for Python 2.6..."
python2.6 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
    echo "Failed"
    exit $1
else
    echo "Success"
fi

rm -rf build
echo -n "Running tests for Python 3.1..."
python3.1 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
    echo "Failed"
    exit $1
else
    echo "Success"
fi

{'fraction_non_alphanumeric': 0.14371772805507746, 'fraction_numerical': 0.04044750430292599, 'mean_word_length': 2.4306784660766962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '1801542', 'n_tokens_mistral': 463, 'n_tokens_neox': 445, 'n_words': 170}