<s> import os <EOL> import GafferSceneTest <EOL> import GafferRenderMan <EOL> class RenderManTestCase ( GafferSceneTest . SceneTestCase ) : <EOL> def compileShader ( self , sourceFileName , shaderName = None ) : <EOL> if shaderName is None : <EOL> shaderName = os . path . splitext ( os . path . basename ( sourceFileName ) ) [ <NUM_LIT:0> ] <EOL> outputFileName = self . temporaryDirectory ( ) + "<STR_LIT:/>" + shaderName + "<STR_LIT>" <EOL> os . system ( "<STR_LIT>" % ( outputFileName , sourceFileName ) ) <EOL> return os . path . splitext ( outputFileName ) [ <NUM_LIT:0> ] </s>
