tests: Reduce checkpoint interval used by realview regressions
With the current interval, the realview(64)-simple-atomic-checkpoint regressions are not actually checkpointing since they finish boot (and hit m5 exit) before creating the first checkpoint. Change-Id: I297864ccb7ec8a818c9eccd94406b69d89d1f8d3 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Richard Cooper <richard.cooper@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27709 Reviewed-by: Ciro Santilli <ciro.santilli@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import functools
|
||||
|
||||
from m5.objects import *
|
||||
from arm_generic import *
|
||||
import checkpoint
|
||||
@@ -42,4 +44,4 @@ root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
mem_class=SimpleMemory,
|
||||
cpu_class=AtomicSimpleCPU).create_root()
|
||||
|
||||
run_test = checkpoint.run_test
|
||||
run_test = functools.partial(checkpoint.run_test, interval=0.2)
|
||||
|
||||
@@ -43,5 +43,5 @@ root = LinuxArmFSSystemUniprocessor(mem_mode='atomic',
|
||||
mem_class=SimpleMemory,
|
||||
cpu_class=AtomicSimpleCPU).create_root()
|
||||
|
||||
run_test = functools.partial(checkpoint.run_test, interval=1.0)
|
||||
run_test = functools.partial(checkpoint.run_test, interval=0.2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user