Class: MRuby::Command::CrossTestRunner
- Inherits:
-
MRuby::Command
- Object
- MRuby::Command
- MRuby::Command::CrossTestRunner
- Defined in:
- ext/enterprise_script_service/mruby/lib/mruby/build/command.rb
Constant Summary
Constants inherited from MRuby::Command
Instance Attribute Summary collapse
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#runner_options ⇒ Object
Returns the value of attribute runner_options.
-
#verbose_flag ⇒ Object
Returns the value of attribute verbose_flag.
Attributes inherited from MRuby::Command
Instance Method Summary collapse
-
#initialize(build) ⇒ CrossTestRunner
constructor
A new instance of CrossTestRunner.
- #run(testbinfile) ⇒ Object
Methods inherited from MRuby::Command
Constructor Details
#initialize(build) ⇒ CrossTestRunner
Returns a new instance of CrossTestRunner.
337 338 339 340 341 342 343 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 337 def initialize(build) super @command = nil = '%{flags} %{infile}' @verbose_flag = '' @flags = [] end |
Instance Attribute Details
#flags ⇒ Object
Returns the value of attribute flags.
335 336 337 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 335 def flags @flags end |
#runner_options ⇒ Object
Returns the value of attribute runner_options.
333 334 335 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 333 def end |
#verbose_flag ⇒ Object
Returns the value of attribute verbose_flag.
334 335 336 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 334 def verbose_flag @verbose_flag end |
Instance Method Details
#run(testbinfile) ⇒ Object
345 346 347 348 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 345 def run(testbinfile) puts "TEST for " + @build.name _run , { :flags => [flags, verbose_flag].flatten.join(' '), :infile => testbinfile } end |