[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:47:05 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=e57a9e1
The following commit has been merged in the master branch:
commit e57a9e103bb95666f4588904aecf3005c9955ec5
Author: Robin Mills <robin at clanmills.com>
Date: Tue Sep 27 17:31:01 2016 +0000
#1233 Fixes for the test suite on msvc.
---
test/geotag-test.sh | 4 ++--
test/testMSVC.sh | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/test/geotag-test.sh b/test/geotag-test.sh
index 0bd38e4..d08a14c 100755
--- a/test/geotag-test.sh
+++ b/test/geotag-test.sh
@@ -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 '
') # 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
diff --git a/test/testMSVC.sh b/test/testMSVC.sh
index 738276a..dd4312b 100755
--- a/test/testMSVC.sh
+++ b/test/testMSVC.sh
@@ -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
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list