Call "Dir.chdir" when no --parallel=N was given.
This should make "old" tests work with newer versions.
This commit is contained in:
parent
ffe0a34b40
commit
b772c8b7f8
@ -168,7 +168,9 @@ module Cmdtest
|
||||
clog.background do |clog2|
|
||||
clog2.notify("testmethod", @test_method) do
|
||||
obj = @test_class.testcase_class.new(self, clog2, runner)
|
||||
#Dir.chdir(obj._work_dir.path)
|
||||
if runner.opts.parallel == 1
|
||||
Dir.chdir(obj._work_dir.path)
|
||||
end
|
||||
obj.setup
|
||||
begin
|
||||
obj.send(@test_method)
|
||||
|
Loading…
x
Reference in New Issue
Block a user