Use just one tmp-directory when no --parallel=N is used.
This commit is contained in:
parent
b772c8b7f8
commit
9ea790b0cb
@ -85,7 +85,11 @@ module Cmdtest
|
||||
end
|
||||
|
||||
def tmp_dir
|
||||
File.join(tmp_cmdtest_dir, @_test_method.as_filename)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user