Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Remove already downloaded but not removed updates at the end of updat…
Browse files Browse the repository at this point in the history
…e tests (#34)
  • Loading branch information
whimboo committed Apr 12, 2013
1 parent bcb4bd5 commit e2d9a13
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mozmill_automation/testrun.py
Expand Up @@ -656,6 +656,14 @@ def run_update_tests(self, is_fallback):
TestRun.run_tests(self)
except Exception, e:
print "Execution of test-run aborted: %s" % str(e)
finally:
try:
path = self._mozmill.persisted["updateStagingPath"]
print "Remove updates staging folder: %s" % path
shutil.rmtree(path)
except Exception, e:
print "Failed to remove the update staging folder: " + str(e)
self.last_exception = e


def exec_testrun(cls):
Expand Down

0 comments on commit e2d9a13

Please sign in to comment.