<commit_before>#!/usr/bin/env bash
#
# Copyright (c) 2015 GemTalk Systems, LLC. All Rights Reserved <<EMAIL>>.
#

set -xe  # print commands and exit on error

uname -a   #gather info for bug 44185

if [ "${STONENAME1}x" = "x" ] ; then
  export STONENAME1="travis1"
fi
if [ "${STONENAME2}x" = "x" ] ; then
  export STONENAME2="travis2"
fi
if [ "${STONENAME3}x" = "x" ] ; then
  export STONENAME3="travis3"
fi
if [ "${STONENAME4}x" = "x" ] ; then
  export STONENAME4="travis4"
fi

# pre-clone /sys/local, so that travis can install customizations (also test -c option)
$GS_HOME/bin/private/clone_sys_local -c https

# Customize the scripts used by tODE (https://github.com/dalehenrich/tode/issues/226)
$GS_HOME/tests/travisCustomize.sh

case $TEST in
  XXX)
    $GS_HOME/bin/private/downloadSmalltalkClient -d $GS_HOME/shared/pharo
    ls -l $GS_HOME/shared/pharo
    ls -l $GS_HOME/shared/pharo/pharo-vm
    $GS_HOME/shared/pharo/pharo-vm/pharo --help --vm-display-null
    $GS_HOME/shared/pharo/pharo --help --vm-display-null
    $GS_HOME/shared/pharo/pharo --no-display --list
    ;;
  Simple)
    # createStone should work without having done an installServer ... also tests github:// builds
    createStone ${STONENAME2} $GS_VERSION
    ;;
  Basic)
    $GS_HOME/tests/basicInstallServer.sh
    source $GS_HOME/bin/defGsDevKit.env
    export todeSnapshot=$GS_SERVER_STONES/${STONENAME1}/snapshots/extent0.tode.dbf
    export baseSnapshot=$GS_SERVER_STONES/${STONENAME1}/product/bin/extent0.dbf
    export seasideSnapshot=$GS_SERVER_STONES/${STONENAME1}/product/bin/extent0.seaside.dbf
    $GS_HOME/tests/basicTests.sh
    ;;
  BasicTodeClient)
    $GS_HOME/tests/basicTodeClientTests.sh
    ;;
 *)
    echo "Unknown test: $TEST"
    exit 1
    ;;
esac

<commit_msg>Issue #31: and more and better info<commit_after>#!/usr/bin/env bash
#
# Copyright (c) 2015 GemTalk Systems, LLC. All Rights Reserved <<EMAIL>>.
#

set -xe  # print commands and exit on error

uname -a   #gather info for bug 44185

if [ "${STONENAME1}x" = "x" ] ; then
  export STONENAME1="travis1"
fi
if [ "${STONENAME2}x" = "x" ] ; then
  export STONENAME2="travis2"
fi
if [ "${STONENAME3}x" = "x" ] ; then
  export STONENAME3="travis3"
fi
if [ "${STONENAME4}x" = "x" ] ; then
  export STONENAME4="travis4"
fi

# pre-clone /sys/local, so that travis can install customizations (also test -c option)
$GS_HOME/bin/private/clone_sys_local -c https

# Customize the scripts used by tODE (https://github.com/dalehenrich/tode/issues/226)
$GS_HOME/tests/travisCustomize.sh

case $TEST in
  XXX)
    $GS_HOME/bin/private/downloadSmalltalkClient -d $GS_HOME/shared/pharo
    ls -l $GS_HOME/shared/pharo
    ls -l $GS_HOME/shared/pharo/pharo-vm
    $GS_HOME/shared/pharo/pharo-vm/pharo --help --vm-display-null
    $GS_HOME/shared/pharo/pharo --list
    $GS_HOME/shared/pharo/pharo-vm/pharo --no-display --list
    ;;
  Simple)
    # createStone should work without having done an installServer ... also tests github:// builds
    createStone ${STONENAME2} $GS_VERSION
    ;;
  Basic)
    $GS_HOME/tests/basicInstallServer.sh
    source $GS_HOME/bin/defGsDevKit.env
    export todeSnapshot=$GS_SERVER_STONES/${STONENAME1}/snapshots/extent0.tode.dbf
    export baseSnapshot=$GS_SERVER_STONES/${STONENAME1}/product/bin/extent0.dbf
    export seasideSnapshot=$GS_SERVER_STONES/${STONENAME1}/product/bin/extent0.seaside.dbf
    $GS_HOME/tests/basicTests.sh
    ;;
  BasicTodeClient)
    $GS_HOME/tests/basicTodeClientTests.sh
    ;;
 *)
    echo "Unknown test: $TEST"
    exit 1
    ;;
esac


{'fraction_non_alphanumeric': 0.13307020016915702, 'fraction_numerical': 0.018607273752466874, 'mean_word_length': 3.631853785900783, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2187513', 'n_tokens_mistral': 1406, 'n_tokens_neox': 1344, 'n_words': 277}