[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:00 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=c695320

The following commit has been merged in the master branch:
commit c6953207c393807ca70601b38d904a083a0d35ce
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Sep 20 19:39:28 2016 +0000

    #1011 make teste is broken between r3450 and r3470 (webready integration for v0.25)
---
 contrib/buildRevisions/buildRevisions.sh | 34 +++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 14 deletions(-)

diff --git a/contrib/buildRevisions/buildRevisions.sh b/contrib/buildRevisions/buildRevisions.sh
index c483382..c650dbc 100755
--- a/contrib/buildRevisions/buildRevisions.sh
+++ b/contrib/buildRevisions/buildRevisions.sh
@@ -4,36 +4,42 @@
 # You're expected to modify this script to perform whatever test
 # is appropriate for your revision investigation
 
-##
-# test a sequence of build revisions
-# to use a list of revisions, use for "r in 3800 3820 3877; do"
-for r in $(seq 3800 50 3900); do
+buildRevision()
+{
+	r="$1"
 	echo ------------- $r begin --------------
 	##
 	# get the code
 	R="../../../$r"
-	if [ -e $R ]; then rm -rf $R ; fi
-	svn checkout svn://dev.exiv2.org/svn/trunk --revision $r $R | wc
+	if [ ! -e $R ]; then
+		svn checkout svn://dev.exiv2.org/svn/trunk --revision $r $R | wc
+	fi
 	pushd $R
 		##
 		# build and install it
 		echo $PWD
 		make config 2>/dev/null  | wc
 		./configure              | wc
-		make -j  2>&1            | wc
+		make -j             2>&1 | wc
 		sudo make install        | wc
-		make -j samples 2>&1     | wc
-		echo build = $(exiv2 -vV | grep -e svn -e dll) $(ls -alt $(which exiv2))
+		make -j  samples    2>&1 | wc
+		echo build = $(exiv2 -vV | grep -e svn -e dll -e svn) $(ls -alt $(which exiv2))
 
 		##
 		# test the build
-		T=tst.tiff
-		curl  --silent        -O http://dev.exiv2.org/attachments/download/1004/$T
-		exiv2 --verbose       -M"set Exif.Image.Software revision $r"           $T
-		exiv2 --grep Software -pa                                               $T
+		make teste
 	popd > /dev/null
 	echo ------------- $r end -------------- $'
'
-done
+}
+
+##
+# test a sequence of build revisions
+# to use a list of revisions, use for "r in 3800 3820 3877; do"
+if [ "$#"  == "0" ]; then
+    for r in $(seq 3000 500 4000); do buildRevision $r ; done;
+else
+    for r in "$@"                ; do buildRevision $r ; done;
+fi
 
 # That's all Folks!
 ##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list