def METHOD_NAME( exeName, jsonName ):
	exeFullpath = os.path.abspath( os.path.join( g_exeFolder, exeName ) )
	jsonFullpath = os.path.abspath( os.path.join( g_jsonFolder, jsonName ) )
	outputFolder = os.path.abspath( os.path.join( g_outputFolder, exeName ) )
	cmpFolder = os.path.abspath( os.path.join( g_cmpFolder, exeName ) )
	if g_system == 'darwin':
		shutil.copyfile( './ogreMetal.cfg', os.path.join( exeFullpath + '.app/Contents/Resources', 'ogre.cfg' ) )
		exeFullpath += '.app/Contents/MacOS/' + exeName
	elif g_system == 'linux' and g_api == 'd3d11':
		exeFullpath += '.exe'
	args = [exeFullpath, '--ut_playback=' + jsonFullpath, '--ut_output=' + outputFolder]
	if g_system == 'linux' and g_api == 'd3d11':
		args = ['wine'] + args[:]
	#if g_system == 'darwin':
	#	args = ['open', '-W', '-n', '-a' ] + [args[0]] + ['--args'] + args[1:]
	print( '=== NEW UNIT TEST ===' )
	print( 'Trying ' + str( args ) )
	print( 'Creating output folder ' + outputFolder )
	pathlib.Path( outputFolder ).mkdir( parents=True, exist_ok=True )
	processResult = run( args, cwd=g_exeFolder )
	processResult.check_returncode()
	if g_cmpFolder != '':
		compareResults( cmpFolder, outputFolder )