tomcrypt/coverage.sh

27 lines
448 B
Bash
Raw Normal View History

2014-05-05 05:06:40 -04:00
#!/bin/bash
if [ -z "$(echo $CC | grep "gcc")" ]; then
echo "no gcc detected, early exit success"
exit 0
fi
# output version
bash printinfo.sh
bash build.sh " $1" " $2" " $3 " "$4 -fprofile-arcs -ftest-coverage " "$5 -lgcov"
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
fi
2014-05-07 11:36:50 -04:00
cpp-coveralls -e 'demos/' -e 'testprof/' -e 'notes/' -e 'src/headers/'
2014-05-05 05:06:40 -04:00
exit 0
# $Source$
# $Revision$
# $Date$