def _test(mayaFile, liqRenderer):
    mLiqlog.renderer_beg(liqRenderer)

    output_image_fullpath = getImageOutputDirectory(mayaFile) + getOutputImageName(mayaFile, liqRenderer)
    mLiqlog.output_img_beg(output_image_fullpath)
    mLiqlog.output_img_end()

    _render(mayaFile, liqRenderer)

    # import time
    # time.sleep(4)

    std_image_fullpath = getStanderImage(mayaFile, liqRenderer)
    import imagediff

    imagediff.compare(output_image_fullpath, std_image_fullpath)

    mLiqlog.renderer_end()
    raw_input("test <" + mayaFile + "> \nwith <" + liqRenderer + ">  is done. \nPress ENTER to continue.")
def _test(mayaFile, liqRenderer):
    print("\n\n\n\n\n\n")
    print("----------------------------------------------------------\n")
    print("test begin <"+mayaFile+">, <"+liqRenderer+">\n")
    print("----------------------------------------------------------\n")
    mLiqlog.renderer_beg(liqRenderer)

    output_image_fullpath = getImageOutputDirectory(mayaFile)+getOutputImageName(mayaFile, liqRenderer)
    mLiqlog.output_img_beg(getStanderImage(mayaFile, liqRenderer))
    mLiqlog.output_img_end()

    #_render(mayaFile, liqRenderer)
    _render2(mayaFile, liqRenderer)

    import time
    time.sleep(4)

    std_image_fullpath = getStanderImage(mayaFile, liqRenderer);
    import imagediff
    imagediff.compare(output_image_fullpath, std_image_fullpath)
    
    mLiqlog.renderer_end()
    print("test <"+mayaFile+"> \nwith <"+liqRenderer+">  is done.\n")