Boost Testing :
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-17 00:13:37
Vladimir Prus <ghost_at_[hidden]> writes:
> I've modified the regression.py script to work with Boost.Build V2, but
> adding a --v2 option and adjusting the code to check for that option when
> needed. That works for me, but I'd like to ask for help with two things.
> 1. Even though I've tried that without --v2 the script works, I'm wary about
> committing a change that can possibly brake all regression tests. Can
> somebody take the attached file and verify it does not break V1
> 2. It would be great if somebody could double-check that "--v2" option
> works. There's no need to test it with many toolsets -- just verify that
> with one toolset and --v2 option, regression.py runs successfully.
python regression.py --v2 --toolsets=msvc-8.0 --runner=V2test
# Cleaning up "c:\tmp\boost" directory ...
# Cleaning up "c:\tmp\boost\bin" directory ...
# Cleaning up "c:\tmp\results" directory ...
# Getting sources (2006-02-17T05:02:06Z)...
# Downloading "http://www.meta-comm.com/engineering/boost/snapshot/boost-CVS-HEAD.tar.bz2" to "c:\tmp"...
# Looking for old unpacked archives...
# Unpacking boost tarball ("c:\tmp\boost-CVS-HEAD.tar.bz2")...
# Unpacked into directory "c:\tmp\boost-CVS-HEAD-06-02-17-0404"
# Renaming "c:\tmp\boost-CVS-HEAD-06-02-17-0404" into "c:\tmp\boost"
Traceback (most recent call last):
File "regression.py", line 909, in ?
commands[ command ]( **accept_args( args ) )
File "regression.py", line 730, in regression
setup( comment, toolsets, bjam_toolset, pjl_toolset, monitored, proxy,  )
TypeError: setup() takes exactly 8 arguments (7 given)
Compilation exited abnormally with code 1 at Fri Feb 17 00:12:22
-- Dave Abrahams Boost Consulting www.boost-consulting.com