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.21.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.20.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.19.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.19.2 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.19.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.18.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.17.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.16.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.16.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.15.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.14.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.13.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.13.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.12.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.11.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.11.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.9 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.8 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.7 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.9.6 lib/origen_testers/origen_ext/application/runner.rb