def test_one_scene(mayaFile, liqRenderer): mLiqlog.scene_beg(mayaFile) #create tester tester = rt.createTestFactory( liqRenderer ) tester.setFile( mayaFile ) tester.setProjectDirectory( getProjectDirectory(mayaFile) ) if liqRenderer == "": _test(mayaFile, er.getRendererName()) _test(mayaFile, "renderman") _test(mayaFile, "appleseed") else: _test(mayaFile, liqRenderer) #DEBUG #import pdb #pdb.set_trace() #clean resources import time time.sleep(2) tester.cutResources() mLiqlog.scene_end()
def test_one_scene(mayaFile, liqRenderer): mLiqlog.scene_beg(mayaFile) if liqRenderer == "": _test(mayaFile, "elvishray") _test(mayaFile, "renderman") else: _test(mayaFile, liqRenderer) mLiqlog.scene_end()