39a40,41
> from __future__ import print_function
>
129c131
< print "/".join(test)
---
> print("/".join(test))
178,179c180,181
< print >> sys.stderr, \
< "gem5 binary '%s' not an executable file" % args.gem5
---
> print("gem5 binary '%s' not an executable file" % args.gem5,
> file=sys.stderr)
198c200
< print "Running %i tests" % len(tests)
---
> print("Running %i tests" % len(tests))
200c202
< print "%i: Running '%s'..." % (testno, test)
---
> print("%i: Running '%s'..." % (testno, test))
252c254
< print >> sys.stderr, 'Could not read file %s' % f.name
---
> print('Could not read file %s' % f.name, file=sys.stderr)
290c292
< print >> sys.stderr, 'Could not read all files'
---
> print('Could not read all files', file=sys.stderr)