diff --git a/libft_test/ft_isalpha_test.c b/libft_test/ft_isalpha_test.c index ac62f62..1d8116f 100755 --- a/libft_test/ft_isalpha_test.c +++ b/libft_test/ft_isalpha_test.c @@ -14,6 +14,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then exit 1 fi +printf "%s\n" "Testing ${SRC}" diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; } rm -f -- "${tmp_out}" diff --git a/libft_test/ft_isdigit_test.c b/libft_test/ft_isdigit_test.c index 9ab0772..33e3f22 100755 --- a/libft_test/ft_isdigit_test.c +++ b/libft_test/ft_isdigit_test.c @@ -14,6 +14,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then exit 1 fi +printf "%s\n" "Testing ${SRC}" diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; } rm -f -- "${tmp_out}" diff --git a/template_test.c b/template_test.c index 485a8c7..6ff2e98 100755 --- a/template_test.c +++ b/template_test.c @@ -14,6 +14,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then exit 1 fi +printf "%s\n" "Testing ${SRC}" diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; } rm -f -- "${tmp_out}"