-#!/bin/bash -e
+#!/bin/bash
#
# Run our test suite.
elif [ "$1" == "--valgrind" ]; then
shift
valgrind --tool="memcheck" $work/tests $private
+elif [ "$1" == "--callgrind" ]; then
+ shift
+ valgrind --tool="callgrind" $work/tests $private $*
else
$work/tests $private $*
fi
rm -f $work/info.log
for d in `find $private/metadata -mindepth 1 -maxdepth 1 -type d | sort -f -d`; do
if [ `basename $d` != ".git" ]; then
- $dcpinfo --ignore-missing-assets -k -s $d 2> /dev/null >> $work/info.log
+ $dcpinfo --ignore-missing-assets -k -s $d >> $work/info.log
if [ "$?" != "0" ]; then
echo "FAIL: dcpinfo failed for $d"
exit 1