Created
April 13, 2012 22:28
-
-
Save Fitblip/2380555 to your computer and use it in GitHub Desktop.
Sulley issue #19
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
diff --git a/sessions.py b/sessions.py | |
index 21bd1aa..bf025d9 100644 | |
--- a/sessions.py | |
+++ b/sessions.py | |
@@ -383,7 +383,7 @@ class session (pgraph.graph): | |
self.total_mutant_index += 1 | |
# if we've hit the restart interval, restart the target. | |
- if self.restart_interval and self.total_mutant_index % self.restart_interval == 0: | |
+ if self.restart_interval and self.total_mutant_index % self.restart_interval == 0 and self.total_mutant_index > self.skip: | |
self.log("restart interval of %d reached" % self.restart_interval) | |
self.restart_target(target) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment