projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e01d08
)
Add possibility to trigger the tests with Valgrind
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Dec 2010 14:06:09 +0000
(15:06 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Dec 2010 14:10:29 +0000
(15:10 +0100)
libcitadel/tests/run_tests.sh
patch
|
blob
|
history
diff --git
a/libcitadel/tests/run_tests.sh
b/libcitadel/tests/run_tests.sh
index 73a561d66b3a7718f92847fe037eaaaccbd5e7ab..2dd29b5d7ea77f23290d1fadd176e5cc0ca1481a 100755
(executable)
--- a/
libcitadel/tests/run_tests.sh
+++ b/
libcitadel/tests/run_tests.sh
@@
-1,7
+1,13
@@
#!/bin/bash
-RUN_TEST=
-
+case $1 in
+ valgrind)
+ RUN_TEST='valgrind --log-file=/tmp/run_tests_valgrind.%p --show-reachable=yes --leak-check=full'
+ ;;
+ default)
+ RUN_TEST=
+ ;;
+esac
#./stringbuf_IO_test -p 6666 -i 0.0.0.0 -s 2 -l 50