#NEWLINE# def update_22( db , filename_persist , snapshots_dir , snapshots_reference_dir ) : #NEWLINE# #INDENT# "\n    Enter testrun info 'fail' or 'error' for some tests\n    \n    'fail' : The test is properly writen to demo some feature and snapshots\n    reflects what is seen in an interactive session but the images show the\n    feature renders in an undesired way. This point to a library error.\n\n    'error' : The test is inconclusive about correctnes in the library,\n    because they are one or many of the following problems:\n\n        Test is not properly writen (logical errors in the test code)\n        \n        Technical problems with the snapshots machinery ( the snapshots don't\n        reflect an interactive session )\n\n        Snapshots not repeteable in different test runs.\n    " #NEWLINE# data = { #NEWLINE# #INDENT# 'test/test_pyglet_vb.py' : { #NEWLINE# #INDENT# 'st' : 'fail' , #NEWLINE# 'diag' : 'incomplete grossini rendition at first frame' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_text_movement.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'position should be set at the node level, not at the element level' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_schedule_interval.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'bad timestamps, repeated snapshots' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_transitions_with_pop_recipe.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'bad timestamps, repeated snapshots' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_SequenceScene.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'bad timestamps, black frame' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_camera_orbit.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'alternate snapshots are pure black' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_jumptiles3d.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : "snpshots don't folow changes in scene" , #NEWLINE# #UNINDENT# } , #NEWLINE# 'test/test_transition_zoom.py' : { #NEWLINE# #INDENT# 'st' : 'error' , #NEWLINE# 'diag' : 'bad timestamps, repeated snapshots' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# ren_key = { #NEWLINE# #INDENT# 'st' : 'testrun_success' , #NEWLINE# 'diag' : 'testrun_diagnostic' , #NEWLINE# #UNINDENT# } #NEWLINE# testrun_props_by_candidate = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for name in data : #NEWLINE# #INDENT# testrun_props_by_candidate [ name ] = dict ( [ ( ren_key [ k ] , data [ name ] [ k ] ) for k in data [ name ] ] ) #NEWLINE# #UNINDENT# hl . update_testrun__bad ( db , filename_persist , testrun_props_by_candidate , snapshots_dir , snapshots_reference_dir )