Opportunistically teach test decorators in framework/test_util.py to return the decorated function's result, if any.  This makes the most sense for decorators that run the decorated function no more than once, since that makes it obvious which result to return.
Opportunistically teach test decorators in framework/test_util.py to
return the decorated function's result, if any.  This makes the most
sense for decorators that run the decorated function no more than
once, since that makes it obvious which result to return.

This helps generalize them to sub-test or non-test scenarios where the
decorated function may return something valuable.

The change should be a no-op for tests, because they return None
anyway, and None was what the decorators were unconditionally
returning before this change.

PiperOrigin-RevId: 227528698

alsrgv/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,renyi533/tensorflow,theflofly/tensorflow,annarev/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,apark263/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,jhseu/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,arborh/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,hfp/tensorflow-xsmm,davidzchen/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,xzturn/tensorflow,ageron/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,annarev/tensorflow,ageron/tensorflow,xzturn/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,apark263/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,kevin-coder/tensorflow-fork,adit-chandra/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,xzturn/tensorflow,renyi533/tensorflow,karllessard/tensorflow,theflofly/tensorflow,karllessard/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,jendap/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,apark263/tensorflow,apark263/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,apark263/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,jbedorf/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,yongtang/tensorflow,yongtang/tensorflow,ageron/tensorflow,jhseu/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,jendap/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,gunan/tensorflow,theflofly/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,aam-at/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,aam-at/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,ageron/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,alsrgv/tensorflow,theflofly/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,ghchinoy/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,arborh/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,aldian/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,karllessard/tensorflow,jendap/tensorflow,aldian/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,arborh/tensorflow,karllessard/tensorflow,yongtang/tensorflow,xzturn/tensorflow,hfp/tensorflow-xsmm,ageron/tensorflow,ageron/tensorflow,petewarden/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,petewarden/tensorflow,sarvex/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,arborh/tensorflow,hfp/tensorflow-xsmm,Intel-Corporation/tensorflow,jhseu/tensorflow,hfp/tensorflow-xsmm,annarev/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,arborh/tensorflow,jhseu/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,sarvex/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow,yongtang/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,yongtang/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,kevin-coder/tensorflow-fork,aldian/tensorflow,jbedorf/tensorflow,annarev/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,gunan/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,ageron/tensorflow,tensorflow/tensorflow,jendap/tensorflow,arborh/tensorflow,aldian/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,xzturn/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,jendap/tensorflow,gunan/tensorflow,gunan/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,apark263/tensorflow,theflofly/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,hfp/tensorflow-xsmm,alsrgv/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,aldian/tensorflow,jbedorf/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,arborh/tensorflow,ageron/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,jbedorf/tensorflow,jendap/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,kevin-coder/tensorflow-fork,hfp/tensorflow-xsmm,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,hfp/tensorflow-xsmm,Intel-Corporation/tensorflow,jhseu/tensorflow,aldian/tensorflow,jendap/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,jbedorf/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,jendap/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,gautam1858/tensorflow,alsrgv/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,apark263/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,apark263/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,karllessard/tensorflow,annarev/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,jhseu/tensorflow,renyi533/tensorflow,theflofly/tensorflow,apark263/tensorflow,ghchinoy/tensorflow,jhseu/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,ageron/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred