#1233 Fixes for the test suite on msvc.

This commit is contained in:
Robin Mills
2016-09-27 17:31:01 +00:00
parent 80fd8ee333
commit e57a9e103b
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -13,12 +13,12 @@ source ./functions.source
echo --- show GPSInfo tags ---
runTest exiv2 -pa --grep GPSInfo $jpg
tags=$(runTest exiv2 -Pk --grep GPSInfo $jpg)
tags=$(runTest exiv2 -Pk --grep GPSInfo $jpg | tr -d '\r') # MSVC puts out cr-lf lines
echo --- deleting the GPSInfo tags
for tag in $tags; do runTest exiv2 -M"del $tag" $jpg; done
runTest exiv2 -pa --grep GPS $jpg
echo --- run geotag ---
runTest geotag -ascii -tz -8:00 $jpg $gpx | cut -d' ' -f 2- | sed -E -e 's/\xb0/___/g'
runTest geotag -ascii -tz -8:00 $jpg $gpx | cut -d' ' -f 2-
echo --- show GPSInfo tags ---
runTest exiv2 -pa --grep GPSInfo $jpg
+4 -2
View File
@@ -4,7 +4,7 @@ msvc=$1
test=$2
home=$(dirname $(readlink -f $0))
if [ -z $msvc ]; then
if [ -z "$msvc" ]; then
echo usage: $0 \<path-to-msvc-bin\> [test]
exit
fi
@@ -33,7 +33,9 @@ for d in $(find "$msvc" -name exiv2.exe -exec dirname {} ";"); do
(
cd "$home/.."
make $test
$d/exiv2.exe -v -V
if [ -z "$2" ]; then
$d/exiv2.exe -v -V
fi
)
done