class Gem::TestCase

def parse_make_command_line(line)

def parse_make_command_line(line)
  command, *args = line.shellsplit
  targets = []
  macros = {}
  args.each do |arg|
    case arg
    when /\A(\w+)=/
      macros[$1] = $'
    else
      targets << arg
    end
  end
  targets << '' if targets.empty?
  {
    :command => command,
    :targets => targets,
    :macros => macros,
  }
end