Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Make the pummel test runner not crash on windows when a directory is …
Browse files Browse the repository at this point in the history
…locked
  • Loading branch information
piscisaureus committed Nov 25, 2011
1 parent a056ef1 commit b480cfa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/pummel/testcfg.py
Expand Up @@ -55,7 +55,10 @@ def AfterRun(self, result):
except:
pass
# make it again.
mkdir(self.tmpdir)
try:
mkdir(self.tmpdir)
except:
pass

def BeforeRun(self):
# delete the whole tmp dir
Expand All @@ -64,8 +67,11 @@ def BeforeRun(self):
except:
pass
# make it again.
mkdir(self.tmpdir)

try:
mkdir(self.tmpdir)
except:
pass

def GetLabel(self):
return "%s %s" % (self.mode, self.GetName())

Expand Down

0 comments on commit b480cfa

Please sign in to comment.