mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
added scrupt for brute force callof valgrind over serialiser tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
edd5aaf87a
commit
861dec8e0b
9
libretroshare/src/tests/serialiser/valgrind_all.sh
Executable file
9
libretroshare/src/tests/serialiser/valgrind_all.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo This script will call valgrind on all executables of the current directory and launch a debugger in case it finds an error. If the script terminate with non error, then the test passes. Press enter when ready...
|
||||
read tmp
|
||||
|
||||
for i in `find . -executable -type f | grep -v valgrind`; do
|
||||
echo testing $i
|
||||
valgrind --tool=memcheck --db-attach=yes ./$i
|
||||
done
|
Loading…
Reference in New Issue
Block a user