Commit 04443662 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

make temp dir if it doesn't exist

git-svn-id: file:///svn/toku/tokudb@53914 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3111955f
......@@ -215,6 +215,8 @@ class TestRunnerBase(object):
except TestFailure:
self.times[1] = time.time()
savepfx = '%(execf)s-%(rev)s-%(tsize)d-%(csize)d-%(num_ptquery)d-%(num_update)d-%(phase)s-' % self
if not os.path.exists(self.savedir):
os.mkdir(self.savedir)
savedir = mkdtemp(dir=self.savedir, prefix=savepfx)
tarfile = '%s.tar' % savedir
commands = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment