From: Hoa Nguyen Date: Fri, 22 May 2020 00:59:26 +0000 (-0700) Subject: tests: Update memory tests to be compatible with python3 X-Git-Tag: v20.0.0.0~20 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5b92bc8570bb79bfa871ea4336892bdcbd4c3df;p=gem5.git tests: Update memory tests to be compatible with python3 Signed-off-by: Hoa Nguyen Change-Id: I9bb7444c62e6b29e9c91dbf30320a38718f08b8c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29353 Maintainer: Bobby R. Bruce Reviewed-by: Jason Lowe-Power Tested-by: kokoro --- diff --git a/tests/gem5/memory/memtest-run.py b/tests/gem5/memory/memtest-run.py index 74f4543d6..0cae42d87 100644 --- a/tests/gem5/memory/memtest-run.py +++ b/tests/gem5/memory/memtest-run.py @@ -32,7 +32,7 @@ from common.Caches import * #MAX CORES IS 8 with the fals sharing method nb_cores = 8 cpus = [MemTest(max_loads = 1e5, progress_interval = 1e4) - for i in xrange(nb_cores) ] + for i in range(nb_cores) ] # system simulated system = System(cpu = cpus,