Browse Source

Make the pummel test runner not crash on windows when a directory is locked

v0.7.4-release
Bert Belder 13 years ago
parent
commit
b480cfaf34
  1. 12
      test/pummel/testcfg.py

12
test/pummel/testcfg.py

@ -55,7 +55,10 @@ class PummelTestCase(test.TestCase):
except:
pass
# make it again.
mkdir(self.tmpdir)
try:
mkdir(self.tmpdir)
except:
pass
def BeforeRun(self):
# delete the whole tmp dir
@ -64,8 +67,11 @@ class PummelTestCase(test.TestCase):
except:
pass
# make it again.
mkdir(self.tmpdir)
try:
mkdir(self.tmpdir)
except:
pass
def GetLabel(self):
return "%s %s" % (self.mode, self.GetName())

Loading…
Cancel
Save