Don't resume in std mutational stage (#1946)
* fix * fix * fix * fix * FMT * don't resume in mutational stage
This commit is contained in:
parent
44dca17a6c
commit
2137ad0f8f
@ -111,9 +111,12 @@ where
|
||||
start_timer!(state);
|
||||
|
||||
// Here saturating_sub is needed as self.iterations() might be actually smaller than the previous value before reset.
|
||||
/*
|
||||
let num = self
|
||||
.iterations(state)?
|
||||
.saturating_sub(self.execs_since_progress_start(state)?);
|
||||
*/
|
||||
let num = self.iterations(state)?;
|
||||
let mut testcase = state.current_testcase_mut()?;
|
||||
|
||||
let Ok(input) = I::try_transform_from(&mut testcase, state) else {
|
||||
@ -232,12 +235,14 @@ where
|
||||
ret
|
||||
}
|
||||
|
||||
fn restart_progress_should_run(&mut self, state: &mut Self::State) -> Result<bool, Error> {
|
||||
self.restart_helper.restart_progress_should_run(state)
|
||||
fn restart_progress_should_run(&mut self, _state: &mut Self::State) -> Result<bool, Error> {
|
||||
Ok(true)
|
||||
// self.restart_helper.restart_progress_should_run(state)
|
||||
}
|
||||
|
||||
fn clear_restart_progress(&mut self, state: &mut Self::State) -> Result<(), Error> {
|
||||
self.restart_helper.clear_restart_progress(state)
|
||||
fn clear_restart_progress(&mut self, _state: &mut Self::State) -> Result<(), Error> {
|
||||
Ok(())
|
||||
// self.restart_helper.clear_restart_progress(state)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,12 +90,14 @@ where
|
||||
ret
|
||||
}
|
||||
|
||||
fn restart_progress_should_run(&mut self, state: &mut Self::State) -> Result<bool, Error> {
|
||||
self.restart_helper.restart_progress_should_run(state)
|
||||
fn restart_progress_should_run(&mut self, _state: &mut Self::State) -> Result<bool, Error> {
|
||||
Ok(true)
|
||||
// self.restart_helper.restart_progress_should_run(state)
|
||||
}
|
||||
|
||||
fn clear_restart_progress(&mut self, state: &mut Self::State) -> Result<(), Error> {
|
||||
self.restart_helper.clear_restart_progress(state)
|
||||
fn clear_restart_progress(&mut self, _state: &mut Self::State) -> Result<(), Error> {
|
||||
Ok(())
|
||||
// self.restart_helper.clear_restart_progress(state)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user