Class: Origen::Application::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/origen_testers/origen_ext/application/runner.rb

Instance Method Summary collapse

Instance Method Details

#launch(options = {}) ⇒ Object

Patch this to allow write: false to be given as an option when generating a test program. When supplied and set to false, the program output files will not be written and only a flow model will be generated.



15
16
17
18
19
20
21
22
# File 'lib/origen_testers/origen_ext/application/runner.rb', line 15

def launch(options = {})
  if options.key?(:write)
    OrigenTesters::Interface.write = options[:write]
  else
    OrigenTesters::Interface.write = true
  end
  orig_launch(options)
end

#orig_launchObject



11
# File 'lib/origen_testers/origen_ext/application/runner.rb', line 11

alias_method :orig_launch, :launch