Sha256: 75339ea07b0f34d2306cffa6d2389ef9e286c2245a63e7d42cf1c4122f615f04

Contents?: true

Size: 1.01 KB

Versions: 34

Compression:

Stored size: 1.01 KB

Contents

# An example of creating an entire test program from
# a single source file
Flow.create interface: 'OrigenTesters::Test::Interface', flow_bypass: true, environment: :probe do

  # Test that this can be overridden from the target at flow-level
  self.add_flow_enable = :enabled

  unless Origen.app.environment.name == 'v93k_global'
    self.resources_filename = 'prb2'
  end

  func :erase_all, duration: :dynamic, number: 10000

  func :margin_read1_all1, number: 10010

  func :erase_all, duration: :dynamic, number: 10020
  func :margin_read1_all1, number: 10030

  import 'components/prb2_main', number: 11000

  func :erase_all, duration: :dynamic, number: 12000
  func :margin_read1_all1, id: 'erased_successfully', number: 12010

  # Check that an instance variable change in a sub-flow (prb2_main in this case)
  # is preserved back here in the main flow
  if include_additional_prb2_test
    if_enable 'extra_tests' do
      import 'components/prb2_main', number: 13000
    end
  end

  func :margin_read1_all1, number: 14000
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
origen_testers-0.52.8 program/prb2.rb
origen_testers-0.52.7 program/prb2.rb
origen_testers-0.52.6 program/prb2.rb
origen_testers-0.52.5 program/prb2.rb
origen_testers-0.52.4 program/prb2.rb
origen_testers-0.52.3 program/prb2.rb
origen_testers-0.52.1 program/prb2.rb
origen_testers-0.52.0 program/prb2.rb
origen_testers-0.51.5 program/prb2.rb
origen_testers-0.51.4 program/prb2.rb
origen_testers-0.51.3 program/prb2.rb
origen_testers-0.51.2 program/prb2.rb
origen_testers-0.51.1 program/prb2.rb
origen_testers-0.51.0 program/prb2.rb
origen_testers-0.50.0 program/prb2.rb
origen_testers-0.49.4 program/prb2.rb
origen_testers-0.49.3 program/prb2.rb
origen_testers-0.49.2 program/prb2.rb
origen_testers-0.49.1 program/prb2.rb
origen_testers-0.49.0 program/prb2.rb