# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 9
9: def initialize(id_num, test_framework_short_name)
10: @id_num = id_num
11: @test_framework = Spork::TestFramework.factory(STDOUT, STDERR,
12: test_framework_short_name)
13: # ENV["DRB"] = 'true'
14: # Spork.using_spork!
15: return(nil) unless preload
16: end
# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 26
26: def preload
27: @test_framework.preload
28: end
# File lib/spork/run_strategy/magazine/magazine_slave.rb, line 18
18: def run(argv, stderr, stdout)
19: $stdout, $stderr = stdout, stderr
20: Spork.exec_each_run
21: load @test_framework.helper_file
22: @test_framework.run_tests(argv, stderr, stdout)
23: puts " <-- Slave(#{@id_num}) run done!"; stdout.flush
24: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.