Added VALGRIND variable to test scripts

This commit is contained in:
Andreas Huggel 2005-11-30 15:34:22 +00:00
parent f0d59e4ce0
commit b9d4e13073
13 changed files with 13 additions and 13 deletions

View File

@ -12,7 +12,7 @@ fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cp -f ./data/exiv2-empty.jpg ./tmp
cd ./tmp
$binpath/addmoddel exiv2-empty.jpg

View File

@ -22,7 +22,7 @@ prep_file()
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cd ./tmp
num=426

View File

@ -12,7 +12,7 @@ fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cp -f ./data/exiv2-gc.jpg ./tmp
cp -f ./data/exiv2-canon-powershot-s40.jpg ./tmp
cp -f ./data/exiv2-nikon-d70.jpg ./tmp

View File

@ -2,7 +2,7 @@
# Test driver for exiv2 utility tests
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exiv2="../../src/exiv2"
exiv2="$VALGRIND ../../src/exiv2"
results="./tmp/exiv2-test.out"
good="./data/exiv2-test.out"
diffargs="--strip-trailing-cr"

View File

@ -12,7 +12,7 @@ fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath=" $VALGRIND ../../src"
cd ./tmp
$binpath/ifd-test
) > $results 2>&1

View File

@ -77,7 +77,7 @@ diffCheck()
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
datapath="../data"
test_files="table.jpg smiley1.jpg smiley2.jpg"

View File

@ -40,7 +40,7 @@ diffCheck()
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
datapath="../data"
test_files="table.jpg smiley2.jpg ext.dat"

View File

@ -112,7 +112,7 @@ diffCheck()
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
datapath="../data"
diffargs="--strip-trailing-cr"
tmpfile=tmp/ttt

View File

@ -12,7 +12,7 @@ fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cd ./tmp
$binpath/makernote-test
) > $results

View File

@ -11,7 +11,7 @@ if [ $? -ne 0 ] ; then
fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cp -f ./data/exiv2-empty.jpg ./tmp
cp -f ./data/exiv2-gc.jpg ./tmp
cd ./tmp

View File

@ -1,7 +1,7 @@
#! /bin/sh
# Mini test-driver for path utility functions
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cd ./tmp
$binpath/path-test ../data/path-test.txt

View File

@ -33,7 +33,7 @@ runTestCase()
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
datapath="."
diffargs="--strip-trailing-cr"
tmpfile=tmp/ttt

View File

@ -12,7 +12,7 @@ fi
(
LD_LIBRARY_PATH=../../src:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
binpath="../../src"
binpath="$VALGRIND ../../src"
cp -f ./data/exiv2-empty.jpg ./tmp
cd ./tmp
$binpath/write2-test exiv2-empty.jpg