Boost logo

Boost Testing :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-09-23 17:04:14


Nicola Musatti wrote:

> Hallo,
> I just tried running regression.py, but after executing all the tests it
> aborts with an error message:
>
> # Executing SVN command "svn --non-interactive --username=user info
> D:\boost\svn
> \trunk\boost >D:\boost\svn\trunk\svn_info.txt"
> Traceback (most recent call last):
> File "D:\boost\svn\trunk\regression.py", line 1037, in <module>
> commands[ command ]( **accept_args( args ) )
> File "D:\boost\svn\trunk\regression.py", line 831, in regression
> collect_logs( tag, runner, platform, user, comment, incremental,
> dart_server
> , proxy, [] )
> File "D:\boost\svn\trunk\regression.py", line 664, in collect_logs
> revision = re.search( 'Revision: ([0-9]*)', svn_info ).group(1)
> AttributeError: 'NoneType' object has no attribute 'group'
>
> This is due to the fact that I'm running the italian version of Windows
> XP and on my computer Subversion defaults to italian messages, which
> breaks the regexp which collects the svn revision.

Ehm, regexp? I think that the right way to get version number of SVN
checkout is this:

        $ svnversion

that outputs a plain number. Is something fancier used by regression.py?

- Volodya


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