/ucs2-lib/

nk rel='vcs-git' href='https://git.automotivelinux.org/apps/agl-service-can-low-level' title='agl-service-can-low-level Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/libs/bitfield-c/runtests.sh
blob: 4781636b8fd12aa61572f3745d64f8e7e8b1f19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
echo "Running unit tests:"

for i in $1/*.bin
do
    if test -f $i
    then
        if ./$i
        then
            echo $i PASS
        else
            echo "ERROR in test $i:"
            exit 1
        fi
    fi
done

echo "${txtbld}$(tput setaf 2)All unit tests passed.$(tput sgr0)"