optionally run blackbox tests under valgrind

git-svn-id: https://zxing.googlecode.com/svn/trunk@2200 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
smparkes@smparkes.net 2012-02-17 18:53:05 +00:00
parent 446fa46aff
commit 11b1c7275e

View file

@ -32,7 +32,7 @@ for format in $formats; do
tmp="${tmp%PNG}";
txt="${tmp}txt";
expected=`cat "$txt"`;
actual=`build/zxing $pic`;
actual=`$VALGRIND build/zxing $pic`;
if [ "$expected" == "$actual" ]; then
echo "passed."
passed=$((passed+1));