changeset 193:44f829802442

remove test directory befor checking it out
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Feb 2011 11:53:52 -0800
parents 53970e50639e
children 5257c9abea50
files autobot/projects/mozmill/__init__.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/mozmill/__init__.py	Wed Feb 02 11:48:39 2011 -0800
+++ b/autobot/projects/mozmill/__init__.py	Wed Feb 02 11:53:52 2011 -0800
@@ -46,6 +46,8 @@
 #                              description='run mozmill internal tests'))
 
     # get the QA tests
+    test_dir = tests.rsplit('/', 1)[-1]
+    self.addStep(ShellCommand(command=['rm', '-rf', test_dir]))
     self.addStep(ShellCommand(command=['hg', 'clone', tests]))
 
     # run the QA tests