test/multiverse/lib/multiverse/runner.rb in newrelic_rpm-3.7.3.204 vs test/multiverse/lib/multiverse/runner.rb in newrelic_rpm-3.8.0.218

- old
+ new

@@ -23,11 +23,12 @@ end @exit_status end # Args without a = are turned into just opts[key] = true - # Args with = get split, then assigned as key + value + # Args with = get split, then assigned as key + value. Repeats overwrite + # Args with name= will tally up rather than overwriting # :suite gets ignored def parse_args(args) opts = {} args.each do |(k, v)| if v.index("name=") == 0 @@ -64,17 +65,8 @@ end end OutputCollector.overall_report exit exit_status - end - - # run_one is used to run a suite directly in process - # Pipe shenanigans in the typical Suite runner interferes with the debugger - def run_one(filter="", opts={}) - dir = Dir.new(SUITES_DIRECTORY).entries.find { |d| d.include?(filter) } - full_path = File.join(SUITES_DIRECTORY, dir) - $stderr.reopen($stdout) - Suite.new(full_path, opts).execute_child_environment(opts.fetch(:env, "0").to_i) end end end