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.48.3 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.48.2 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.48.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.48.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.47.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.46.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.46.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.45.4 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.45.3 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.45.2 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.45.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.45.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.44.1 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.44.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.43.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.42.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.41.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.40.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.31.0 lib/origen_testers/igxl_based_tester/base/jobs.rb
origen_testers-0.30.0 lib/origen_testers/igxl_based_tester/base/jobs.rb