<commit_before>#!/bin/bash

. test/assert.sh
. test/helper.sh

function setup {
  mkdir test/tmp
  cp Makefile test/tmp/Makefile
  cd test/tmp
  echo "CC  := ${CC}"  >> .compiler.mk
  echo "CXX := ${CXX}" >> .compiler.mk
}

function teardown {
  cd ../..
  rm -rf test/tmp
}

# Targets
. test/targets/test_init.sh
. test/targets/test_standard.sh

# C Tests
. test/c/test_single-file.sh
. test/c/test_multiple-file.sh
. test/c/test_static-lib.sh
. test/c/test_shared-lib.sh

# C++ Tests
. test/c++/test_single-file.sh
. test/c++/test_multiple-file.sh
. test/c++/test_static-lib.sh
. test/c++/test_shared-lib.sh

echo
assert_end make<commit_msg>Improve redability of the test report<commit_after>#!/bin/bash

. test/assert.sh
. test/helper.sh

function setup {
  mkdir test/tmp
  cp Makefile test/tmp/Makefile
  cd test/tmp
  echo "CC  := ${CC}"  >> .compiler.mk
  echo "CXX := ${CXX}" >> .compiler.mk
}

function teardown {
  cd ../..
  rm -rf test/tmp
}

# Targets
. test/targets/test_init.sh
. test/targets/test_standard.sh
echo
assert_end Targets

# C Tests
. test/c/test_single-file.sh
. test/c/test_multiple-file.sh
. test/c/test_static-lib.sh
. test/c/test_shared-lib.sh
echo
assert_end "C Tests"

# C++ Tests
. test/c++/test_single-file.sh
. test/c++/test_multiple-file.sh
. test/c++/test_static-lib.sh
. test/c++/test_shared-lib.sh

echo
assert_end "C++ Tests"
{'fraction_non_alphanumeric': 0.1667885881492319, 'fraction_numerical': 0.0, 'mean_word_length': 3.0714285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6666691', 'n_tokens_mistral': 575, 'n_tokens_neox': 557, 'n_words': 100}