mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
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:
parent
446fa46aff
commit
11b1c7275e
|
@ -32,7 +32,7 @@ for format in $formats; do
|
||||||
tmp="${tmp%PNG}";
|
tmp="${tmp%PNG}";
|
||||||
txt="${tmp}txt";
|
txt="${tmp}txt";
|
||||||
expected=`cat "$txt"`;
|
expected=`cat "$txt"`;
|
||||||
actual=`build/zxing $pic`;
|
actual=`$VALGRIND build/zxing $pic`;
|
||||||
if [ "$expected" == "$actual" ]; then
|
if [ "$expected" == "$actual" ]; then
|
||||||
echo "passed."
|
echo "passed."
|
||||||
passed=$((passed+1));
|
passed=$((passed+1));
|
||||||
|
|
Loading…
Reference in a new issue