#1109 MinGW/32 daily build. Avoid -svn-0-date builds. Changes to test suite for mingw.

v0.27.3
Robin Mills 9 years ago
parent 52d4afaf7b
commit 13a990d3d9

@ -191,10 +191,9 @@ testBuild()
export CFLAGS=-m32 export CFLAGS=-m32
export CXXFLAGS=-m32 export CXXFLAGS=-m32
export LDFLAGS=-m32 export LDFLAGS=-m32
/c/MinGW/msys/1.0/bin/bash.exe -c "export PATH=/c/Qt/Qt5.6.0/5.6/mingw49_32/bin:/c/Qt/Qt5.6.0/Tools/mingw492_32/bin:/c/MinGW/bin:/usr/bin:/usr/local/bin:/c/cygwin64/bin:/c/Users/rmills/com:. ; $0" /c/MinGW/msys/1.0/bin/bash.exe -c "export PATH=/c/Qt/Qt5.6.0/5.6/mingw49_32/bin:/c/Qt/Qt5.6.0/Tools/mingw492_32/bin:/c/MinGW/bin:/usr/bin:/usr/local/bin:. ; $0"
result=$? result=$?
fi fi
exit 0 ; # stop now. RECURSIVE will do the packaging
fi fi
;; ;;
@ -218,6 +217,9 @@ testBuild()
esac esac
) | tee "$build/dist/logs/build.log" ) | tee "$build/dist/logs/build.log"
# exit if are in mingw and leave cygwin to package the build
if [ $(uname -o) == "Msys" ]; then echo "goodbye from mingw" ; exit 0; fi
## ##
# store the build for users to collect # store the build for users to collect
if [ "$result" == "0" ]; then if [ "$result" == "0" ]; then
@ -244,6 +246,7 @@ if [ "$result" == "0" ]; then
if [ "$?" == "0" ]; then if [ "$?" == "0" ]; then
svn=$(/usr/local/bin/svn info . | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ') svn=$(/usr/local/bin/svn info . | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
fi fi
dow=$(date '+%w') # 0..6 day of the week dow=$(date '+%w') # 0..6 day of the week
dom=$(date '+%d') # 1..31 day of the month dom=$(date '+%d') # 1..31 day of the month
mon=$(date '+%m') # 1..12 month mon=$(date '+%m') # 1..12 month

@ -145,48 +145,29 @@ STRUCTURE OF WEBP FILE: exiv2-bug1199.webp
END MemIo END MemIo
XMP | 2864 | 184662 | <?xpacket begin="..." id="W5M0Mp XMP | 2864 | 184662 | <?xpacket begin="..." id="W5M0Mp
<?xml version="1.0"?> <?xml version="1.0"?>
<?xpacket <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<x:xmpmeta <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
xmlns:x="adobe:ns:meta/" <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" rdf:about="" dc:Format="image/webp" xmp:ModifyDate="2015-07-16T20:25:28+01:00" xmp:Rating="0" photoshop:AuthorsPosition="Stonehenge">
x:xmptk="XMP Core 4.4.0-Exiv2" <dc:description>
> <rdf:RDF <rdf:Alt>
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <rdf:li xml:lang="x-default">Classic View</rdf:li>
> <rdf:Description </rdf:Alt>
xmlns:dc="http://purl.org/dc/elements/1.1/" </dc:description>
xmlns:xmp="http://ns.adobe.com/xap/1.0/" <dc:title>
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" <rdf:Alt>
rdf:about="" <rdf:li xml:lang="x-default">Stonehenge</rdf:li>
dc:Format="image/webp" </rdf:Alt>
xmp:ModifyDate="2015-07-16T20:25:28+01:00" </dc:title>
xmp:Rating="0" <dc:creator>
photoshop:AuthorsPosition="Stonehenge" <rdf:Seq>
> <dc:description <rdf:li>Robin Mills</rdf:li>
> <rdf:Alt </rdf:Seq>
> <rdf:li </dc:creator>
xml:lang="x-default" </rdf:Description>
>Classic View</rdf:li </rdf:RDF>
> </rdf:Alt </x:xmpmeta>
> </dc:description <?xpacket end="w"?>
> <dc:title
> <rdf:Alt
> <rdf:li
xml:lang="x-default"
>Stonehenge</rdf:li
> </rdf:Alt
> </dc:title
> <dc:creator
> <rdf:Seq
> <rdf:li
>Robin Mills</rdf:li
> </rdf:Seq
> </dc:creator
> </rdf:Description
> </rdf:RDF
> </x:xmpmeta
>
<?xpacket
end="w"?>
STRUCTURE OF WEBP FILE: exiv2-bug1199.webp STRUCTURE OF WEBP FILE: exiv2-bug1199.webp
Chunk | Length | Offset | Payload Chunk | Length | Offset | Payload
RIFF | 187526 | 0 | WEBP RIFF | 187526 | 0 | WEBP

@ -15,7 +15,7 @@ source ./functions.source
copyTestFile $filename copyTestFile $filename
runTest exiv2 -pS $filename runTest exiv2 -pS $filename
runTest exiv2 -pR $filename runTest exiv2 -pR $filename
runTest exiv2 -pX $filename | xmllint --pretty 2 - runTest exiv2 -pX $filename | xmllint --format -
printf "delete " >&3 printf "delete " >&3
# test deleting metadata # test deleting metadata
for option in -dC -de -dx -dCe -dCx -dCxe; do for option in -dC -de -dx -dCe -dCx -dCxe; do

Loading…
Cancel
Save