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.52.8 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.7 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.6 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.5 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.4 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.52.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.5 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.4 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.2 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.51.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.50.0 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.49.4 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.49.3 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.49.2 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.49.1 lib/origen_testers/origen_ext/application/runner.rb
origen_testers-0.49.0 lib/origen_testers/origen_ext/application/runner.rb