old_contents: #!/usr/bin/env python 
  
  # test subimages
  command += oiiotool ("--pattern constant:color=0.5,0.0,0.0 64x64 3 " +
                       "--pattern constant:color=0.0,0.5,0.0 64x64 3 " +
                       "--siappend -d half -o subimages-2.exr")
  command += oiiotool ("--pattern constant:color=0.5,0.0,0.0 64x64 3 --text A -attrib oiio:subimagename layerA " +
                       "--pattern constant:color=0.0,0.5,0.0 64x64 3 --text B -attrib oiio:subimagename layerB " +
                       "--pattern constant:color=0.0,0.0,0.5 64x64 3 --text C -attrib oiio:subimagename layerC " +
                       "--pattern constant:color=0.5,0.5,0.0 64x64 3 --text D -attrib oiio:subimagename layerD " +
                       "--siappendall -d half -o subimages-4.exr")
  command += oiiotool ("subimages-4.exr --subimage 3 -o subimageD3.exr")
  command += oiiotool ("subimages-4.exr --subimage layerB -o subimageB1.exr")
  command += oiiotool ("subimages-2.exr --sisplit -o subimage2.exr " +
                       "--pop -o subimage1.exr")
  
  
  # Outputs to check against references
  outputs = [ 
              "subimages-2.exr", "subimages-4.exr",
              "subimage1.exr", "subimage2.exr",
              "subimageD3.exr", "subimageB1.exr"
            ]
  
  #print "Running this command:\n" + command + "\n"
  
new_contents: #!/usr/bin/env python 
  
  # Slightly bump allowable failures, for slightly shifting font rendering
  # with changed freetype versions.
  failpercent *= 2.0
  
  # test subimages
  command += oiiotool ("--pattern constant:color=0.5,0.0,0.0 64x64 3 " +
                       "--pattern constant:color=0.0,0.5,0.0 64x64 3 " +
                       "--siappend -d half -o subimages-2.exr")
  command += oiiotool ("--pattern constant:color=0.5,0.0,0.0 64x64 3 --text A -attrib oiio:subimagename layerA " +
                       "--pattern constant:color=0.0,0.5,0.0 64x64 3 --text B -attrib oiio:subimagename layerB " +
                       "--pattern constant:color=0.0,0.0,0.5 64x64 3 --text C -attrib oiio:subimagename layerC " +
                       "--pattern constant:color=0.5,0.5,0.0 64x64 3 --text D -attrib oiio:subimagename layerD " +
                       "--siappendall -d half -o subimages-4.exr")
  command += oiiotool ("subimages-4.exr --subimage 3 -o subimageD3.exr")
  command += oiiotool ("subimages-4.exr --subimage layerB -o subimageB1.exr")
  command += oiiotool ("subimages-2.exr --sisplit -o subimage2.exr " +
                       "--pop -o subimage1.exr")
  
  
  # Outputs to check against references
  outputs = [ 
              "subimages-2.exr", "subimages-4.exr",
              "subimage1.exr", "subimage2.exr",
              "subimageD3.exr", "subimageB1.exr"
            ]
  
  #print "Running this command:\n" + command + "\n"
  
subject: Adjust error threshold after upgrading freetype version