summaryrefslogtreecommitdiffstats
path: root/tester/rtems-test
diff options
context:
space:
mode:
Diffstat (limited to 'tester/rtems-test')
-rwxr-xr-xtester/rtems-test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tester/rtems-test b/tester/rtems-test
index f573fea..13025cc 100755
--- a/tester/rtems-test
+++ b/tester/rtems-test
@@ -1,7 +1,7 @@
#! /usr/bin/env python
#
# RTEMS Tools Project (http://www.rtems.org/)
-# Copyright 2013, 2015 Chris Johns (chrisj@rtems.org)
+# Copyright 2013-2016 Chris Johns (chrisj@rtems.org)
# All rights reserved.
#
# This file is part of the RTEMS Tools package in 'rtems-tools'.
@@ -29,6 +29,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#
+from __future__ import print_function
+
import sys, os
base = os.path.dirname(os.path.abspath(sys.argv[0]))
parent = os.path.dirname(base)
@@ -39,5 +41,5 @@ try:
import rt.test
rt.test.run()
except ImportError:
- print >> sys.stderr, "Incorrect RTEMS Tools installation"
+ print("Incorrect RTEMS Tools installation", file = sys.stderr)
sys.exit(1)