<commit_before>#!/bin/bash -x

set -e # exit on error

stopStone travis
stopStone travis_2
stoneExtent travis_2
startStone travis_2

cd ${GS_HOME}/gemstone/stones/travis_2

. defStone.env

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
  repository: 'filetree://${GS_HOME}/upgrades/repository';
  load.
(Smalltalk at: #GsUpgrader) upgradeGLASS.
(Smalltalk at: #GsUpgrader) upgradeGLASS.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
%

exit 
EOF

stopStone travis_2
stoneExtent travis_2
startStone travis_2

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
    repository: 'filetree://${GS_HOME}/upgrades/repository';
      load.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
%

exit
EOF

stopStone travis_2
stoneExtent travis_2
startStone travis_2

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
      repository: 'filetree://${GS_HOME}/upgrades/repository';
            load.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
%

exit <commit_msg>logging for the testGsUpgrader.sh script<commit_after>#!/bin/bash -x

set -e # exit on error

stopStone travis
stopStone travis_2
stoneExtent travis_2
startStone travis_2

cd ${GS_HOME}/gemstone/stones/travis_2

. defStone.env

echo "=================================="
echo "TESTING: upgradeGLASS, upgradeMetacello, upgradeGLASS1"
echo "=================================="

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
  repository: 'filetree://${GS_HOME}/upgrades/repository';
  load.
(Smalltalk at: #GsUpgrader) upgradeGLASS.
(Smalltalk at: #GsUpgrader) upgradeGLASS.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
%

exit 
EOF

stopStone travis_2
stoneExtent travis_2
startStone travis_2

echo "=================================="
echo "TESTING: upgradeMetacello"
echo "=================================="

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
    repository: 'filetree://${GS_HOME}/upgrades/repository';
      load.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
%

exit
EOF

stopStone travis_2
stoneExtent travis_2
startStone travis_2

echo "=================================="
echo "TESTING: upgradeGLASS1"
echo "=================================="

topaz -l -q -T50000 <<EOF
iferr 1 stk
iferr 2 stack
iferr 3 exit 1
login
run
Metacello new
  baseline: 'GsUpgrader';
      repository: 'filetree://${GS_HOME}/upgrades/repository';
            load.
(Smalltalk at: #GsUpgrader) upgradeGLASS1.
%

exit 
{'fraction_non_alphanumeric': 0.15951700031776295, 'fraction_numerical': 0.02669208770257388, 'mean_word_length': 5.00763358778626, 'pattern_counts': {'":': 0, '<': 15, '<?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': '1968495', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1140, 'n_words': 315}