Boost logo

Boost Testing :

Subject: [Boost-testing] Switched to Python 3
From: Maxime van Noppen (maxime_at_[hidden])
Date: 2010-10-22 06:03:25


Hi,

While upgrading the computer which runs boost's tests, the default
Python was switched from Python 2 to Python 3 and, surprise, run.py
doesn't seem to work with Python 3.

-----
  File "run.py", line 24
    print '# Running regressions in %s...' % root
                                         ^
SyntaxError: invalid syntax
-----

In our company we now explicitly specify python2 or python3 because an
increasing number of platforms we work on have Python 3 as default
'python'. Could something similar be done with run.py ?

FYI, the computer runs Archlinux 64bit stable.

-- 
Maxime

Boost-testing list run by mbergal at meta-comm.com