diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-03-13 16:13:53 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-03-14 10:34:02 +0000 |
commit | 6e63552f5058564e32899a7973ec073a460ff55d (patch) | |
tree | 96f0ec74daae7e51d14a1bdfacb04d6b4910b91f /tests/configs | |
parent | 74305fad328ad22fa3bf32b50ad683043494803c (diff) | |
download | gem5-6e63552f5058564e32899a7973ec073a460ff55d.tar.xz |
tests: Add missing print replacements in tests subdir
Some python files were still using deprecated print statement.
Change-Id: I19b1fe9c28650707f01725d40c87ad0538f9c5e6
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9141
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'tests/configs')
-rw-r--r-- | tests/configs/gpu-ruby.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/configs/gpu-ruby.py b/tests/configs/gpu-ruby.py index 6b20c31e8..e846dbaf6 100644 --- a/tests/configs/gpu-ruby.py +++ b/tests/configs/gpu-ruby.py @@ -33,6 +33,8 @@ # Author: Brad Beckmann # +from __future__ import print_function + import m5 from m5.objects import * from m5.defines import buildEnv @@ -77,7 +79,7 @@ def run_test(root): # simulate until program terminates exit_event = m5.simulate(maxtick) - print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() + print('Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()) parser = optparse.OptionParser() Options.addCommonOptions(parser) |