<commit_before>#!/bin/bash

# Switch to drude-d7-testing folder.
cd ../../drude-d7-testing

OS="${OS:-mac}"
if [ ! -z "$1" ]; then
	OS="$1"
fi

# Run tests. Order is important.
echo "Test command: start"
OS=$OS bats ../drude/tests/start.bats
echo "Test command: init"
OS=$OS bats ../drude/tests/init.bats
echo "Test command: stop"
OS=$OS bats ../drude/tests/stop.bats
echo "Test command: reset"
OS=$OS bats ../drude/tests/reset.bats
echo "Test command: restart"
OS=$OS bats ../drude/tests/restart.bats
echo "Test command: drush"
OS=$OS bats ../drude/tests/drush.bats
echo "Test command: exec"
OS=$OS bats ../drude/tests/exec.bats
echo "Test command: ssh-add"
OS=$OS bats ../drude/tests/ssh-add.bats
echo "Test command: status"
OS=$OS bats ../drude/tests/status.bats
echo "Test command: update"
OS=$OS bats ../drude/tests/update.bats
echo "Test fin helper functions"
OS=$OS bats ../drude/tests/helper_functions.bats
echo "Tests fin basics check functions"
OS=$OS bats ../drude/tests/basics_check_functions.bats
echo "Tests fin control functions"
OS=$OS bats ../drude/tests/control_functions.bats<commit_msg>Update main scrip for running bats tests<commit_after>#!/bin/bash

# Switch to drupal7 folder.
cd ../../drupal7

OS="${OS:-mac}"
if [ ! -z "$1" ]; then
	OS="$1"
fi

# Run tests. Order is important.
echo "Test command: start"
OS=$OS bats ../docksal/tests/start.bats
echo "Test command: init"
OS=$OS bats ../docksal/tests/init.bats
echo "Test command: stop"
OS=$OS bats ../docksal/tests/stop.bats
echo "Test command: reset"
OS=$OS bats ../docksal/tests/reset.bats
echo "Test command: restart"
OS=$OS bats ../docksal/tests/restart.bats
echo "Test command: drush"
OS=$OS bats ../docksal/tests/drush.bats
echo "Test command: exec"
OS=$OS bats ../docksal/tests/exec.bats
echo "Test command: ssh-add"
OS=$OS bats ../docksal/tests/ssh-add.bats
echo "Test command: status"
OS=$OS bats ../docksal/tests/status.bats
echo "Test command: update"
OS=$OS bats ../docksal/tests/update.bats
echo "Test fin helper functions"
OS=$OS bats ../docksal/tests/helper_functions.bats
echo "Tests fin basics check functions"
OS=$OS bats ../docksal/tests/basics_check_functions.bats
echo "Tests fin control functions"
OS=$OS bats ../docksal/tests/control_functions.bats
{'fraction_non_alphanumeric': 0.16199376947040497, 'fraction_numerical': 0.0035603026257231864, 'mean_word_length': 4.09750566893424, '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': '3665595', 'n_tokens_mistral': 858, 'n_tokens_neox': 792, 'n_words': 233}