<commit_before>#!/bin/bash


source /data/src/docker/joynr-base/scripts/ci/global.sh

log "ENVIRONMENT"
env

mosquitto -c /data/src/docker/joynr-base/mosquitto.conf &
MOSQUITTO_PID=$!

# wait a while to allow mosquitto server to initialize
sleep 5

cd /data/build/joynr/bin
rm -f *.junit.xml

START=$(date +%s)

cd ..
ctest

SUCCESS=$?
if [ "$SUCCESS" != "0" ]; then
    echo '########################################################'
    echo '# C++ Unit Tests failed with exit code:' $SUCCESS
    echo '########################################################'
fi<commit_msg>[C++] Run UnitTests with the binary<commit_after>#!/bin/bash


source /data/src/docker/joynr-base/scripts/ci/global.sh

log "ENVIRONMENT"
env

mosquitto -c /data/src/docker/joynr-base/mosquitto.conf &
MOSQUITTO_PID=$!

# wait a while to allow mosquitto server to initialize
sleep 5

cd /data/build/joynr/bin
rm -f *.junit.xml

START=$(date +%s)

./g_UnitTests --gtest_shuffle --gtest_output="xml:g_UnitTests.junit.xml"

SUCCESS=$?
if [ "$SUCCESS" != "0" ]; then
    echo '########################################################'
    echo '# C++ Unit Tests failed with exit code:' $SUCCESS
    echo '########################################################'
fi
{'fraction_non_alphanumeric': 0.30719482619240096, 'fraction_numerical': 0.0032336297493936943, 'mean_word_length': 4.627272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6262888', 'n_tokens_mistral': 426, 'n_tokens_neox': 398, 'n_words': 99}