Skip to content

Commit

Permalink
Fix test on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Stockner <[email protected]>
  • Loading branch information
lukasstockner committed Nov 7, 2024
1 parent 06ad8d5 commit 1763e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/jpeg-metadata/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
command += rw_command ("src", "blender-render.jpg", use_oiiotool=1,
output_filename="with-attribs-and-desc.jpg",
extraargs="--attrib:type=int jpeg:com_attributes 1 "
"--attrib:type=string ImageDescription 'A photo'")
"--attrib:type=string ImageDescription \"A photo\"")
command += info_command ("with-attribs-and-desc.jpg", safematch=True)

# Check that JPEG comments that would match an attribute will be read as ImageDescription
# if jpeg:com_attributes is 0.
command += rw_command ("src", "blender-render.jpg", use_oiiotool=1,
output_filename="with-colon-desc.jpg",
extraargs="--attrib:type=string ImageDescription 'Example:Text'")
extraargs="--attrib:type=string ImageDescription \"Example:Text\"")
command += info_command ("with-colon-desc.jpg", safematch=True,
extraargs="--oiioattrib:type=int jpeg:com_attributes 0")

0 comments on commit 1763e1a

Please sign in to comment.