fix: testsuite

This commit is contained in:
matteo 2026-01-23 23:20:32 +01:00
parent a3998358ea
commit de9173a71f
3 changed files with 18 additions and 11 deletions

View file

@ -5,7 +5,7 @@
# Variables #
###################
executable="../../src/42sh"
executable="$BIN_PATH"
ref_executable="dash"
tmp_script="/tmp/test_script.sh"
@ -242,6 +242,9 @@ summarize() {
echo -e $BWhite "\n\n""===========" $UWhite"Summary"$Color_Off "\n"
echo -e " Passed $coverage_color$passed_tests/$total_tests$Color_Off tests ($coverage_color$tests_percentage$Color_Off%)"
echo -e " Got $BRed$timeouts_count timeout(s)$Color_Off"
if [ "$OUTPUT_FILE" != "" ];
then echo $tests_percentage > "$OUTPUT_FILE";
fi
echo
}