From 8c3037662ba572a6935170dbd4cb8cc8a3636417 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 22 Jun 2024 18:22:24 +0100 Subject: compilation of functions, and some parts of interpreting them --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_tests.sh') diff --git a/run_tests.sh b/run_tests.sh index ffa1a22..073d12c 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -15,7 +15,7 @@ for testfile in tests/*.bth; do 0) printf '\033[32m\033[1mPASS\033[0m %s\n' "$testname" pass=$((pass + 1)) ;; 1) printf '\033[31m\033[1mFAIL\033[0m %s\n' "$testname" - printf "\tgot output: %s\n" "$output" + printf "\tgot output: %s\n" "$(echo "$output" | head -n4)" printf "\texpected: " cat $outfile fail=$((fail + 1)) ;; -- cgit v1.2.3