From e5b92bc8570bb79bfa871ea4336892bdcbd4c3df Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Thu, 21 May 2020 17:59:26 -0700 Subject: [PATCH] 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 --- tests/gem5/memory/memtest-run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2