Code Review
/
apps
/
low-level-can-service.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4781636b8fd12aa61572f3745d64f8e7e8b1f19c
[apps/low-level-can-service.git]
/
libs
/
bitfield-c
/
runtests.sh
1
echo "Running unit tests:"
2
3
for i in $1/*.bin
4
do
5
if test -f $i
6
then
7
if ./$i
8
then
9
echo $i PASS
10
else
11
echo "ERROR in test $i:"
12
exit 1
13
fi
14
fi
15
done
16
17
echo "${txtbld}$(tput setaf 2)All unit tests passed.$(tput sgr0)"