Skip to content

Instantly share code, notes, and snippets.

@bmnick
Created January 4, 2011 04:11
Show Gist options
  • Select an option

  • Save bmnick/764378 to your computer and use it in GitHub Desktop.

Select an option

Save bmnick/764378 to your computer and use it in GitHub Desktop.
Make a makefile to tell you the missing mutants
dependency_line = 'check : '
targets = Array.new
1.upto(65).each do |testnum|
dependency_line << "#{testnum} "
targets << "#{testnum} : \n\t@(./mdates -v -i sampledata.txt | grep \"Killed mutant #{testnum}\" > /dev/null ) || echo \"Missing mutant #{testnum}\""
end
puts dependency_line
puts ''
targets.each do |target|
puts target
puts ''
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment