Use just one tmp-directory when no --parallel=N is used.

This commit is contained in:
Johan Holmberg 2012-07-09 23:40:03 +02:00
parent b772c8b7f8
commit 9ea790b0cb

View File

@ -85,8 +85,12 @@ module Cmdtest
end
def tmp_dir
if @_runner.opts.parallel == 1
File.join(tmp_cmdtest_dir, "top")
else
File.join(tmp_cmdtest_dir, @_test_method.as_filename)
end
end
def tmp_work_dir
File.join(tmp_dir, "work")