From: Giacomo Travaglini Date: Thu, 9 Apr 2020 15:25:55 +0000 (+0100) Subject: tests: Reduce checkpoint interval used by realview regressions X-Git-Tag: v20.0.0.0~201 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ead530aa4b1696f914fb3b9929732a553f53ca92;p=gem5.git 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 Reviewed-by: Richard Cooper Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27709 Reviewed-by: Ciro Santilli Tested-by: kokoro --- diff --git a/tests/configs/realview-simple-atomic-checkpoint.py b/tests/configs/realview-simple-atomic-checkpoint.py index 3525fc00b..9c61deb06 100644 --- a/tests/configs/realview-simple-atomic-checkpoint.py +++ b/tests/configs/realview-simple-atomic-checkpoint.py @@ -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) diff --git a/tests/configs/realview64-simple-atomic-checkpoint.py b/tests/configs/realview64-simple-atomic-checkpoint.py index 40302e0f2..2a3ee7a55 100644 --- a/tests/configs/realview64-simple-atomic-checkpoint.py +++ b/tests/configs/realview64-simple-atomic-checkpoint.py @@ -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)