fixed bug and created script for running tests

This commit is contained in:
2024-03-03 16:29:57 +01:00
parent 75cacc3e04
commit 97208505d8
3 changed files with 19 additions and 1 deletions

15
tests/run_tests.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
mapfile -t files < <(find ../tests/. -name "*.ics")
i=1
for file in ${files[@]}; do
echo "TEST ${i}: ${file}"
echo "===================================================="
../src/icscli -f "${file}"
echo "===================================================="
echo
((i++))
done
exit 0