Sha256: 45df0eb059eb08dd3714f1d7f172c21ef204d179fb14ce4e270e10598d8dcd85
Contents?: true
Size: 1.12 KB
Versions: 10
Compression:
Stored size: 1.12 KB
Contents
# An example of creating an entire test program from # a single source file Flow.create do self.resources_filename = 'prb2' func :erase_all, :duration => :dynamic func :margin_read1_all1 func :erase_all, :duration => :dynamic func :margin_read1_all1 import 'components/prb2_main' func :erase_all, :duration => :dynamic func :margin_read1_all1, :id => 'erased_successfully' skip :if_all_passed => 'erased_successfully' do import 'components/prb2_main' end if_enable 'extra_tests' do import 'components/prb2_main' end func :margin_read1_all1 log '"Check OOF passcodes in both locations"' func :pgm_vfy_oof_passcode_tst, tname: "TST_VFY_OOF_PASSCODE", tnum: 1300, continue: true, id: :oof_passcode1 func :pgm_vfy_oof_passcode_redcols_utst, tname: "UTST_VFY_OOF_PASSCODE_REDCOLS", tnum: 1300, continue: true, id: :oof_passcode2 nop # Will create a better API when implementing this on V93K if Origen.tester.is_a?(OrigenTesters::IGXLBasedTester::Base) or_ids id1: :oof_passcode1, id2: :oof_passcode2, id: :OR, condition: :fail func :testme, tname: "", if_failed: :OR end end
Version data entries
10 entries across 10 versions & 1 rubygems