Make devel/cover clean up after itself.

This commit is contained in:
Emil Mikulic 2013-04-28 21:45:14 +10:00
parent ffbb4c9f7c
commit 1b10a57f39
1 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,7 @@
#
# Coverage and unit tests!
#
cd $(dirname $0)
DIR=tmp.httpd.tests
PORT=12346
@ -26,6 +27,8 @@ PID=$!
kill -0 $PID || exit 1
python test.py
kill $PID
echo generating darkhttpd.c.gcov report
gcov darkhttpd
# generates darkhttpd.c.gcov
echo "done!"
rm -rf $DIR
rm -f darkhttpd.gcda darkhttpd.gcno darkhttpd.log a.out
echo done