<commit_before>#!/bin/bash

## This script runs as a normal user (pbsuser) because the default
## configuration of PBSPro does not allow root to submit any jobs

# Stop the script at the first failure
set -e

echo "DEBUG: Environment of $0"; env; id; echo "END_DEBUG"

BUILD_DIR=/home/pbsuser/ensembl-hive-pbspro
cd $BUILD_DIR
export EHIVE_ROOT_DIR=$PWD/ensembl-hive
export PERL5LIB=$EHIVE_ROOT_DIR/modules:$PWD/modules
export EHIVE_TEST_PIPELINE_URLS='sqlite:///ehive_test_pipeline_db'
export EHIVE_MEADOW_TO_TEST=PBSPro

prove -rv --ext .t --ext .mt "$EHIVE_ROOT_DIR/t/04.meadow/meadow-longmult.mt"
<commit_msg>Recent versions of PBSpro don't support the -d option anymore, so we need full paths<commit_after>#!/bin/bash

## This script runs as a normal user (pbsuser) because the default
## configuration of PBSPro does not allow root to submit any jobs

# Stop the script at the first failure
set -e

echo "DEBUG: Environment of $0"; env; id; echo "END_DEBUG"

BUILD_DIR=/home/pbsuser/ensembl-hive-pbspro
cd $BUILD_DIR
export EHIVE_ROOT_DIR=$PWD/ensembl-hive
export PERL5LIB=$EHIVE_ROOT_DIR/modules:$PWD/modules
export EHIVE_TEST_PIPELINE_URLS="sqlite:///$HOME/ehive_test_pipeline_db"
export EHIVE_MEADOW_TO_TEST=PBSPro

prove -rv --ext .t --ext .mt "$EHIVE_ROOT_DIR/t/04.meadow/meadow-longmult.mt"

{'fraction_non_alphanumeric': 0.10360706062931696, 'fraction_numerical': 0.0061396776669224865, 'mean_word_length': 5.299516908212561, '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': '5286780', 'n_tokens_mistral': 506, 'n_tokens_neox': 480, 'n_words': 132}