diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-22 18:22:24 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-22 18:22:24 +0100 |
commit | 8c3037662ba572a6935170dbd4cb8cc8a3636417 (patch) | |
tree | 1d585a5f0eab8eed96d0741421656f11c99c7c33 /run_tests.sh | |
parent | 1d496f5f7f01b20fb34e63d1c85a33d8decd1894 (diff) |
compilation of functions, and some parts of interpreting them
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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)) ;; |