fix validate test

This commit is contained in:
Ryan Oldenburg 2022-05-25 23:56:45 -05:00
parent 123ac5e555
commit 76bde1498c

View file

@ -9,7 +9,7 @@ for file in jpegSuiteFiles:
let genFile = file.replace("masters", "generated").replace(".jpg", ".png") let genFile = file.replace("masters", "generated").replace(".jpg", ".png")
img.writeFile(genFile) img.writeFile(genFile)
if execShellCmd(&"magick {file} {genFile}") != 0: if execShellCmd(&"magick {file} -auto-orient {genFile}") != 0:
echo "fail" echo "fail"
var img2 = readImage(genFile) var img2 = readImage(genFile)