Running regression tests

Trying to run the regression tests for BCB6/Windows, using current CVS head... set BOOST_ROOT=C:\boost set TOOLS=borland I can run bjam stage and everything that is supposed to build, builds (serialization, and wave do not build). However, when I follow the directions, I have problems. Can someone please help?!? I tried cd up into boost root, and it seemed to work better, but links in the html files wanted to access directories ".." so that failed too. What am I doing wrong? Thanks! C:\boost>cd status C:\boost\status>bjam --dump-tests test >bjam.log 2>&1 C:\boost\status>echo %BOOST_ROOT% C:\boost C:\boost\status>echo %TOOLS% borland C:\boost\status>process_jam_log < bjam.log Usage: bjam [bjam-args] | process_jam_log [--echo] [--create-directories] [locat e-root] locate-root - the same as the bjam ALL_LOCATE_TARGET parameter, if any. Default is boost-root. create-directories - if the directory for xml file doesn't exists - creates it. usually used for processing logfile on different machine boost_root: C:/boost/status/.. locate_root: C:/boost/status/.. no errors detected C:\boost\status>compiler_status %BOOST_ROOT% cs-win32.html **** exception(205): std::exception: boost::filesystem::directory_iterator const ructor: "C:\boost\status\bin": The system cannot find the path specified. ******** errors detected; see standard output for details ******** C:\boost\status>compiler_status Usage: compiler_status [options...] boost-root status-file [links-file] boost-root is the path to the boost tree root directory. status-file and links-file are paths to the output files. Must be run from directory containing Jamfile options: --compiler name Run for named compiler only --ignore-pass Do not report tests which pass all compilers --no-warn Warnings not reported if test passes --locate-root path Path to ALL_LOCATE_TARGET for bjam; default boost-root. --comment path Path to file containing HTML to be copied into status-file. --notes path Path to file containing HTML to be copied into status-file. --notes-map path Path to file of toolset/test,n lines, where n is number of note bookmark in --notes file. --jamfile path Path to Jamfile. By default "Jamfile". Example: compiler_status --compiler gcc /boost-root cs.html cs-links.html Note: Only the leaf of the links-file path and --notes file string are used in status-file HTML links. Thus for browsing, status-file, links-file, and --notes file must all be in the same directory. **** error return code: 1 ******** errors detected; see standard output for details ******** C:\boost\status>

Try setting TOOLS=borland-5_6_4 or maybe borland-5_5_1 Robert Ramey Jody Hagins wrote:
Trying to run the regression tests for BCB6/Windows, using current CVS head...
set BOOST_ROOT=C:\boost set TOOLS=borland
I can run bjam stage and everything that is supposed to build, builds (serialization, and wave do not build).

None of the previous suggestions seem to work, so let me ask some more questions. I guess the first is, what should be the output of process_jam_log? From scanning the sources, it looks like the only obvious output is various test_log.xml files. However, I see no files with that name anywhere in the hierarchy. Can someone point me to what I should expect, so I can have a better chance figuring out what is wrong? Here is what I tried last... set BOOST_ROOT=C:\boost set TOOLS=borland cd %BOOST_ROOT% bjam clean cd %BOOST_ROOT%\status bjam --dump-tests test > bjam.log 2>&1 process_bjam_log < bjam.log compiler_status %BOOST_ROOT% cs-win32.html I still get an exception from copmiler_status saying C:\boost\status\bin can not be found. Thanks!

Boy, do I feel stupid. I missed errors in the bjam.log file. It looks like there was a problem generating bjam.log (but since stderr was redirected to the file, it was not obvious). Anyway, I think that is the problem, but I have no clue as to how it should be fixed. It looks like a problem with some Jamfile... Anyone got an idea? boost-test(RUN) "multi_index/test_range" : "libs\multi_index\test\test_range.cpp" "libs\multi_index\test\test_range_main.cpp" boost-test(RUN) "multi_index/test_safe_mode" : "libs\multi_index\test\test_safe_mode.cpp" "libs\multi_index\test\test_safe_mode_main.cpp" **** spirit 1.6x required to build library with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_serialization.lib; toolset= borland variant= debug **** C:\boost\tools/build/v1\boost-base.jam:1570: in find-compatible-subvariant *** argument error * rule split-target-subvariant ( target-var properties-var toolset-var variant-var : subvariant ) * called with: ( sv-target sv-properties sv-toolset sv-variant : ) * missing argument subvariant C:\boost\tools/build/v1\boost-base.jam:2008:see definition of rule 'split-target-subvariant' being called C:\boost\tools/build/v1\boost-base.jam:1639: in link-libraries C:\boost\tools/build/v1\boost-base.jam:1834: in generate-dependencies C:\boost\tools/build/v1\boost-base.jam:1940: in subvariant-target C:\boost\tools/build/v1\boost-base.jam:2033: in main-target C:\boost\tools/build/v1\boost-base.jam:1354: in declare-local-target C:\boost\tools/build/v1\testing.jam:64: in boost-test C:\boost\tools/build/v1\testing.jam:528: in run ..\libs\multi_index\test\Jamfile:41: in load-jamfiles C:\boost\tools/build/v1\allyourbase.jam:1750: in SubInclude C:\boost\tools/build/v1\allyourbase.jam:1342: in subinclude Jamfile:36: in load-jamfiles C:\boost\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost-build.jam:16: in module scope

In order to build the serialization library with borland, one needs to have spirt 1.6x on the machine and have the environmental variable SPIRIT_ROOT set to the directory which contains the spirit 1.6x headers. Spirit 16x can be downloaded from the spirit page. If this is inconvenient, you can comment out the *xml*.cpp file from the library build and test Jamfiles and things should work fine - except for xml archives of course. Robert Ramey Jody Hagins wrote:
Boy, do I feel stupid. I missed errors in the bjam.log file. It looks like there was a problem generating bjam.log (but since stderr was redirected to the file, it was not obvious). Anyway, I think that is the problem, but I have no clue as to how it should be fixed. It looks like a problem with some Jamfile...
Anyone got an idea?
boost-test(RUN) "multi_index/test_range" : "libs\multi_index\test\test_range.cpp" "libs\multi_index\test\test_range_main.cpp" boost-test(RUN) "multi_index/test_safe_mode" : "libs\multi_index\test\test_safe_mode.cpp" "libs\multi_index\test\test_safe_mode_main.cpp" **** spirit 1.6x required to build library with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_serialization.lib; toolset= borland variant= debug **** C:\boost\tools/build/v1\boost-base.jam:1570: in find-compatible-subvariant *** argument error * rule split-target-subvariant ( target-var properties-var toolset-var variant-var : subvariant ) * called with: ( sv-target sv-properties sv-toolset sv-variant : ) * missing argument subvariant C:\boost\tools/build/v1\boost-base.jam:2008:see definition of rule 'split-target-subvariant' being called C:\boost\tools/build/v1\boost-base.jam:1639: in link-libraries C:\boost\tools/build/v1\boost-base.jam:1834: in generate-dependencies C:\boost\tools/build/v1\boost-base.jam:1940: in subvariant-target C:\boost\tools/build/v1\boost-base.jam:2033: in main-target C:\boost\tools/build/v1\boost-base.jam:1354: in declare-local-target C:\boost\tools/build/v1\testing.jam:64: in boost-test C:\boost\tools/build/v1\testing.jam:528: in run ..\libs\multi_index\test\Jamfile:41: in load-jamfiles C:\boost\tools/build/v1\allyourbase.jam:1750: in SubInclude C:\boost\tools/build/v1\allyourbase.jam:1342: in subinclude Jamfile:36: in load-jamfiles C:\boost\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost-build.jam:16: in module scope _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Thu, 3 Mar 2005 11:02:18 -0800 "Robert Ramey" <ramey@rrsd.com> wrote:
In order to build the serialization library with borland, one needs to have spirt 1.6x on the machine and have the environmental variable SPIRIT_ROOT set to the directory which contains the spirit 1.6x headers. Spirit 16x can be downloaded from the spirit page.
If this is inconvenient, you can comment out the *xml*.cpp file from the library build and test Jamfiles and things should work fine - except for xml archives of course.
Thanks, I will try that. However, it seems a bit strange that the build would totally fail. I can build boost normally, and it complains that it can not build serialization, but the build continues. However, when running the tests, it yells about serialization, then just stops. Shouldn't it keep on trucking, with thoses tests missing, or failed?

Hmmm- the test matrix doesn't do that. There was a time when such a problem was occuring. Have you done a CVS "update" on your local tree lately? Robert Ramey Jody Hagins wrote:
On Thu, 3 Mar 2005 11:02:18 -0800 "Robert Ramey" <ramey@rrsd.com> wrote:
In order to build the serialization library with borland, one needs to have spirt 1.6x on the machine and have the environmental variable SPIRIT_ROOT set to the directory which contains the spirit 1.6x headers. Spirit 16x can be downloaded from the spirit page.
If this is inconvenient, you can comment out the *xml*.cpp file from the library build and test Jamfiles and things should work fine - except for xml archives of course.
Thanks, I will try that.
However, it seems a bit strange that the build would totally fail. I can build boost normally, and it complains that it can not build serialization, but the build continues. However, when running the tests, it yells about serialization, then just stops. Shouldn't it keep on trucking, with thoses tests missing, or failed? _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Thu, 3 Mar 2005 11:02:18 -0800 "Robert Ramey" <ramey@rrsd.com> wrote:
In order to build the serialization library with borland, one needs to have spirt 1.6x on the machine and have the environmental variable SPIRIT_ROOT set to the directory which contains the spirit 1.6x headers. Spirit 16x can be downloaded from the spirit page.
OK, I went and got it, and... set SPIRIT_ROOT=C:\spirit_1_6_2 I then ran bjam to build everything. Most stuff build properly, but it looks like there is some serialization stuff that wants to use $BOOST_ROOT/boost/spirit. After running bjam to completion, so all that was left were failures. Here is a sample of the output, and the full output is attached as a gzip file. borland-C++-action bin\boost\libs\serialization\build\libboost_serialization.lib\borland\d ebug\runtime-link-static\xml_grammar.obj C:\boost\libs\serialization\build\../src/xml_grammar.cpp: Fatal F1003 C:\boost\boost/spirit/core/config.hpp 56: Error directive: "Compiler not supported. See note in <boost/spirit/core/config.hpp>" *** 1 errors in Compile *** "bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -DBOOST_LIB_DIAGNOSTIC=1 -v -Od -vi- -tWC -WM- -w-8001 -I"bin\boost\libs\serialization\build" -I"C:\spirit_1_6_2" -I"C:\boost" -o"bin\boost\libs\serialization\build\libboost_serialization.lib\borlan d\debug\runtime-link-static\xml_grammar.obj" "C:\boost\libs\serialization\build\../src/xml_grammar.cpp" ...failed borland-C++-action bin\boost\libs\serialization\build\libboost_serialization.lib\borland\d ebug\runtime-link-static\xml_grammar.obj...

Jody Hagins <jody-boost-011304@atdesk.com> writes:
Trying to run the regression tests for BCB6/Windows, using current CVS head...
set BOOST_ROOT=C:\boost set TOOLS=borland
I can run bjam stage and everything that is supposed to build, builds (serialization, and wave do not build).
However, when I follow the directions, I have problems. Can someone please help?!?
I tried cd up into boost root, and it seemed to work better, but links in the html files wanted to access directories ".." so that failed too. What am I doing wrong?
I don't know, but I would suggest using the meta-commm regression.py script and hacking it to stop before uploading anything. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams
-
Jody Hagins
-
Robert Ramey