<commit_before>#!/bin/sh

set -e

prefix=/tmp/local

command_test_options="--n-workers=4"

set -x

case "${BUILD_TOOL}" in
  autotools)
    test/unit/run-test.sh
    test/command/run-test.sh ${command_test_options}
    if [ "${ENABLE_MRUBY}" = "yes" ]; then
      test/query_optimizer/run-test.rb
    fi
    test/command/run-test.sh ${command_test_options} --interface http
    mkdir -p ${prefix}/var/log/groonga/httpd
    # TODO: Re-enable me
    # test/command/run-test.sh ${command_test_options} --testee groonga-httpd
    ;;
  cmake)
    test/command/run-test.sh ${command_test_options}
    ;;
esac
<commit_msg>travis: disable Cutter test on OS X<commit_after>#!/bin/sh

set -e

prefix=/tmp/local

command_test_options="--n-workers=4"

set -x

case "${BUILD_TOOL}" in
  autotools)
    # TODO: Re-enable me on OS X
    if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
      test/unit/run-test.sh
    fi
    test/command/run-test.sh ${command_test_options}
    if [ "${ENABLE_MRUBY}" = "yes" ]; then
      test/query_optimizer/run-test.rb
    fi
    test/command/run-test.sh ${command_test_options} --interface http
    mkdir -p ${prefix}/var/log/groonga/httpd
    # TODO: Re-enable me
    # test/command/run-test.sh ${command_test_options} --testee groonga-httpd
    ;;
  cmake)
    test/command/run-test.sh ${command_test_options}
    ;;
esac

{'fraction_non_alphanumeric': 0.15137956748695003, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 3.03003003003003, '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': '1966274', 'n_tokens_mistral': 520, 'n_tokens_neox': 508, 'n_words': 93}