1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/0856c4a75c92/ changeset: 0856c4a75c92 user: greg date: 2013-02-04 21:22:53 summary: Uncomment temporary file cleanup block in tool shed functiona tests. affected #: 1 file diff -r b6be9c3a2d2df94f4d5236184a4392ec00961743 -r 0856c4a75c92c56f54028f72502ce0ceb55b2e11 test/tool_shed/functional_tests.py --- a/test/tool_shed/functional_tests.py +++ b/test/tool_shed/functional_tests.py @@ -392,18 +392,18 @@ galaxyapp.shutdown() galaxyapp = None log.info( "Embedded galaxy application stopped" ) -# if 'TOOL_SHED_TEST_NO_CLEANUP' not in os.environ: -# try: -# for dir in [ tool_shed_test_tmp_dir ]: -# if os.path.exists( dir ): -# log.info( "Cleaning up temporary files in %s" % dir ) -# shutil.rmtree( dir ) -# except: -# pass -# if success: -# return 0 -# else: -# return 1 + if 'TOOL_SHED_TEST_NO_CLEANUP' not in os.environ: + try: + for dir in [ tool_shed_test_tmp_dir ]: + if os.path.exists( dir ): + log.info( "Cleaning up temporary files in %s" % dir ) + shutil.rmtree( dir ) + except: + pass + if success: + return 0 + else: + return 1 if __name__ == "__main__": sys.exit( main() ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.