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