Sha256: 9c58a5b894559ad0e9670bc44f8db63f7c7a329384aa9e7dd079db33f4359043

Contents?: true

Size: 306 Bytes

Versions: 27

Compression:

Stored size: 306 Bytes

Contents

module OrigenSim
  class Flow
    include OrigenTesters::Flow

    def test(name, options = {})
      pattern = (options[:pattern] || name.try(:pattern) || name).to_s

      Origen.interface.referenced_patterns << pattern

      Origen.app.runner.launch action: :generate, files: pattern
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
origen_sim-0.20.7 lib/origen_sim/flow.rb
origen_sim-0.20.6 lib/origen_sim/flow.rb
origen_sim-0.20.5 lib/origen_sim/flow.rb
origen_sim-0.20.4 lib/origen_sim/flow.rb
origen_sim-0.20.3 lib/origen_sim/flow.rb
origen_sim-0.20.2 lib/origen_sim/flow.rb
origen_sim-0.20.1 lib/origen_sim/flow.rb
origen_sim-0.20.0 lib/origen_sim/flow.rb
origen_sim-0.16.1 lib/origen_sim/flow.rb
origen_sim-0.16.0 lib/origen_sim/flow.rb
origen_sim-0.15.0 lib/origen_sim/flow.rb
origen_sim-0.14.0 lib/origen_sim/flow.rb
origen_sim-0.13.0 lib/origen_sim/flow.rb
origen_sim-0.12.0 lib/origen_sim/flow.rb
origen_sim-0.11.1 lib/origen_sim/flow.rb
origen_sim-0.11.0 lib/origen_sim/flow.rb
origen_sim-0.10.0 lib/origen_sim/flow.rb
origen_sim-0.9.0 lib/origen_sim/flow.rb
origen_sim-0.8.0 lib/origen_sim/flow.rb
origen_sim-0.7.0 lib/origen_sim/flow.rb