Boost logo

Boost Testing :

From: David Walthall (walthall_at_[hidden])
Date: 2008-05-08 11:50:29

Rene Rivera wrote:
> K. Noel Belcourt wrote:
>> Now I got a new error.
     <error snipped>
>> [kbelco_at_sahp7645 boost]$ ls results/
>> bjam.xml boost
>> So does this mean I need to rebuild python to have xml/dom?
> I don't think so, since AFAIK it's the expat minidom parsing is built
> in. So I'm not sure if you can turn if off when building Python. The
> error doesn't sound like a problem there. It looks more like it doesn't
> have a file to parse, the file being "bjam.xml". Way up near the top of
> the log output there's a line that says the bjam command it ran. Could
> you post that? Also there should be a "results/bjam.xml" file. Check
> that it's there and that it has some content.

Hi Rene,

I get a similar error as Noel. It looks like the problem is that
self.input[0] is an empty string. I think this would be fixed if the
line is changed to use self.input[1] since the non dashdash arguments
passed to BJamLog2Results are:
     run_type, self.regression_log
and run_type is set to '' just above to call to BJamLog2Results.

Here is the error:
...failed updating 95 targets...
...skipped 223 targets...
...updated 21025 targets...
...updated 1 target...
# Executing SVN command "svn --non-interactive info --xml
"C:\boost_testing\boost" >"C:\boost_testing\boost\svn_info.txt""
Traceback (most recent call last):
   File "", line 60, in <module>
   File "C:\boost_testing\tools_regression_src\", line 189,
in __init__
   File "C:\boost_testing\tools_regression_src\", line 526,
in main
   File "C:\boost_testing\tools_regression_src\", line 492,
in command_regression
   File "C:\boost_testing\tools_regression_src\", line 415,
in command_collect_logs
   File "C:\boost_testing\tools_regression_src\", line
72, in __init__
   File "C:\boost_testing\tools_regression_src\", line
79, in add_log
     bjam_log = xml.dom.minidom.parse(self.input[0])
   File "C:\Python25\lib\xml\dom\", line 1913, in parse
     return expatbuilder.parse(file)
   File "C:\Python25\lib\xml\dom\", line 922, in parse
     fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: ''

Here is the bjam command that was run:

"-sBOOST_ROOT=C:\boost_testing\boost" "--boost=C:\boost_testing\boost"
"--boost-build=C:\boost_testing\tools_bb" "--debug-configuration" -l300
msvc-7.1 -d1 --dump-tests --verbose-test

In addition, results\bjam.xml is present and has test result data in it.


Boost-testing list run by mbergal at