mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
2b15e7421e
* Kill some more tests using <<RUN * Improve r2r.v quite a lot up to 0.2 * Delete stale temporal files in the unit test * Use executable path instead of dbpath and more cleanup * Move manpage and move old bins into the attic
22 lines
468 B
Bash
Executable File
22 lines
468 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# XXX: remove and just do 'r2r unit'
|
|
# TODO: seems like this KCOV thing should be implemented in V's r2r
|
|
|
|
# To run with kcov
|
|
# export KCOV="kcov /path/to/output"
|
|
# kcov output will be placed in the /path/to/output/index.html
|
|
|
|
LSAN_OPTIONS=detect_leaks=1
|
|
EXIT_STATUS=0
|
|
for i in $(find ./unit -name 'test_*' -type f -perm -111); do
|
|
filename=$(basename "$i")
|
|
echo "$filename"
|
|
${KCOV} $i
|
|
if [ "$?" -ne 0 ] ; then
|
|
EXIT_STATUS=1
|
|
fi
|
|
done
|
|
|
|
exit $EXIT_STATUS
|