summaryrefslogtreecommitdiff
path: root/tests/long/se
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2018-03-09 11:47:25 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2018-03-09 22:45:20 +0000
commitb3d0f2d66a5bf79f66893adcb85b0ac78daf3f65 (patch)
treeb69b4472d7a21b9bdb8a5d43f197d03c850fd7e0 /tests/long/se
parentee16a95ec8a7f2d207320670a135065981033f61 (diff)
downloadgem5-b3d0f2d66a5bf79f66893adcb85b0ac78daf3f65.tar.xz
tests: Python regression scripts using new print function
Change-Id: I92060da4537e4ff1c0ff665f2f6ffc3850c50e88 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/8892 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests/long/se')
-rw-r--r--tests/long/se/70.twolf/test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/long/se/70.twolf/test.py b/tests/long/se/70.twolf/test.py
index a63442ad1..eecca305a 100644
--- a/tests/long/se/70.twolf/test.py
+++ b/tests/long/se/70.twolf/test.py
@@ -26,6 +26,8 @@
#
# Authors: Korey Sewell
+from __future__ import print_function
+
m5.util.addToPath('../configs/common')
from cpu2000 import twolf
import os
@@ -40,8 +42,8 @@ sv2_file = os.path.join(cwd, workload.input_set + '.sv2')
try:
os.unlink(sav_file)
except:
- print "Couldn't unlink ", sav_file
+ print("Couldn't unlink ", sav_file)
try:
os.unlink(sv2_file)
except:
- print "Couldn't unlink ", sv2_file
+ print("Couldn't unlink ", sv2_file)