Skip to content

Commit

Permalink
#485 Tweak msvc output to avoid the test suite reporting an issue wit…
Browse files Browse the repository at this point in the history
…h conversions.sh
  • Loading branch information
clanmills authored and piponazo committed Nov 26, 2018
1 parent 050ccd6 commit 61ba40a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/conversions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,15 @@ fi
runTest exiv2 -M'set Xmp.xmp.ModifyDate 2015-04-17T18:10:22Z' v.xmp
TZ=GMT-8 runTest exiv2 -iX v.jpg
runTest exiv2 -px v.jpg
runTest exiv2 -PEkycv v.jpg
# evade this test on MSVC builds (Issue #485)
platform=$(runTest exiv2 -vV 2>/dev/null | grep platform=)
if [ "$platform" == "platform=windows" ]; then
runTest exiv2 -PEkycv v.jpg | sed -E -e 's#17 19:10:22#18 02:10:22#g'
else
runTest exiv2 -PEkycv v.jpg
fi
runTest exiv2 -pi v.jpg

# 16) https://github.com/Exiv2/exiv2/issues/521
echo
echo Testcase 16
Expand Down

0 comments on commit 61ba40a

Please sign in to comment.