Created
January 4, 2011 04:11
-
-
Save bmnick/764378 to your computer and use it in GitHub Desktop.
Make a makefile to tell you the missing mutants
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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