def IsImageEqual(testname, image_name):
 image1 = ('results/baseline/%s/%s/%s' % (options.conf, testname, image_name))
 image2 = ('results/current/%s/%s/Run 1/%s' % (options.conf, testname, image_name))
 return (Md5ForFile(image1) == Md5ForFile(image2))

def IsImageEqual ( testname , image_name ) : image1 = ( 'results/baseline/%s/%s/%s' % ( options . conf , testname , image_name ) ) image2 = ( 'results/current/%s/%s/Run 1/%s' % ( options . conf , testname , image_name ) ) return ( Md5ForFile ( image1 ) == Md5ForFile ( image2 ) )
check if the given image is equal to the baseline image for this test .