Sha256: 0de790add65555fb90f4ecd29a6839ca541b3f89f0c41c7704396a2fee3a4d5b

Contents?: true

Size: 1.56 KB

Versions: 93

Compression:

Stored size: 1.56 KB

Contents

module OrigenTesters
  module IGXLBasedTester
    class Base
      class Jobs
        include ::OrigenTesters::Generator
        attr_accessor :jobs

        OUTPUT_PREFIX = nil
        OUTPUT_POSTFIX = nil

        def initialize # :nodoc:
          @jobs = {}
        end

        def add(jname, options = {})
          @jobs.key?(jname) ? @jobs[jname].add_job_info(jname, options) : @jobs[jname] = platform::Job.new(jname, options)
          @jobs[jname]
        end

        def finalize(options = {})
          @jobs.each do |_key, job|
            job.pinmap         = job.pinmap.flatten.uniq
            job.instances      = job.instances.flatten.uniq
            job.flows          = job.flows.flatten.uniq
            job.ac_specs       = job.ac_specs.flatten.uniq
            job.dc_specs       = job.dc_specs.flatten.uniq
            job.patsets        = job.patsets.flatten.uniq
            job.patgroups      = job.patgroups.flatten.uniq
            job.bintables      = job.bintables.flatten.uniq
            job.cz             = job.cz.flatten.uniq
            job.test_procs     = job.test_procs.flatten.uniq
            job.mix_sig_timing = job.mix_sig_timing.flatten.uniq
            job.wave_defs      = job.wave_defs.flatten.uniq
            job.psets          = job.psets.flatten.uniq
            job.signals        = job.signals.flatten.uniq
            job.port_map       = job.port_map.flatten.uniq
            job.fract_bus      = job.fract_bus.flatten.uniq
            job.concurrent_seq = job.concurrent_seq.flatten.uniq
          end
        end
      end
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
origen_testers-0.9.5 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.9.4 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.9.3 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.9.2 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.9.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.9.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.13 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.11 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.8 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.7 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.6 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.5 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.4 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.3 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.2 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.8.0.pre1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.7.13 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.7.12 lib/origen_testers/igxl_based_tester/base/jobs.rb