commit dc031bd4fccfd263f2e1b6f5bd6ebc5e20c76616
parent 02ae314c63201aec44f7cfa4731076042995995f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 24 Mar 2023 10:35:37 +0100
Fix make test output when using POSIX Make
When running a test, we were printing its C source rather than its
executable because of an error in the make.sh script.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/make.sh b/make.sh
@@ -42,7 +42,7 @@ run_test()
{
for i in "$@"; do
test=$(echo "${i}" | sed 's/src\/\(.\{1,\}\).c$/\1/')
- printf "%s " "${i}"
+ printf "%s " "${test}"
if ./"${test}" > /dev/null 2>&1; then
printf "\e[1;32mOK\e[m\n"
else