projects
/
darkhttpd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbb4c9
)
Make devel/cover clean up after itself.
author
Emil Mikulic
<emikulic@gmail.com>
Sun, 28 Apr 2013 11:45:14 +0000
(21:45 +1000)
committer
Emil Mikulic
<emikulic@gmail.com>
Sun, 28 Apr 2013 11:45:14 +0000
(21:45 +1000)
devel/cover
patch
|
blob
|
history
diff --git
a/devel/cover
b/devel/cover
index
46b67c8
..
f9f89da
100755
(executable)
--- a/
devel/cover
+++ b/
devel/cover
@@
-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