Sha256: 0a61d88788b1a64d6bdcf53509a67ddc7268377a9ee400dd56d3d3b633d066bb

Contents?: true

Size: 796 Bytes

Versions: 96

Compression:

Stored size: 796 Bytes

Contents

# This shim is temporary to help NXP transition to Origen from
# our original internal version (RGen)
if defined? RGen::ORIGENTRANSITION
  require 'rgen/application/runner'
else
  require 'origen/application/runner'
end
module Origen
  class Application
    class Runner
      alias_method :orig_launch, :launch
      # 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.
      def launch(options = {})
        if options.key?(:write)
          OrigenTesters::Interface.write = options[:write]
        else
          OrigenTesters::Interface.write = true
        end
        orig_launch(options)
      end
    end
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
origen_testers-0.9.5 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.4 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.2 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.13 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.11 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.8 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.7 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.6 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.5 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.4 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.2 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.8.0.pre1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.7.13 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.7.12 lib/origen_testers/origen_ext/application/runner.rb