fix validate test
This commit is contained in:
parent
123ac5e555
commit
76bde1498c
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue