summaryrefslogtreecommitdiff
path: root/tests/configs/memtest.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2019-01-28 16:53:47 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2019-02-25 14:24:08 +0000
commitdebb5daace15e17bae7c07937852f6f738633c85 (patch)
treec8b2f5e12bcf65633f1e9df949cd04bcdfae7a21 /tests/configs/memtest.py
parentd63f735663d710839f79a4b88af67da968995168 (diff)
downloadgem5-debb5daace15e17bae7c07937852f6f738633c85.tar.xz
tests: Update test scripts to work with Python 3
Change-Id: I71b1e595765fed9e9f234c9722c33ac5348d4f11 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/15999 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'tests/configs/memtest.py')
-rw-r--r--tests/configs/memtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/configs/memtest.py b/tests/configs/memtest.py
index db7a5ef22..959ec4e5d 100644
--- a/tests/configs/memtest.py
+++ b/tests/configs/memtest.py
@@ -33,7 +33,7 @@ from common.Caches import *
#MAX CORES IS 8 with the fals sharing method
nb_cores = 8
-cpus = [ MemTest() for i in xrange(nb_cores) ]
+cpus = [ MemTest() for i in range(nb_cores) ]
# system simulated
system = System(cpu = cpus,