[test] Running regression tests

Attempting to run regression tests for the 'test' library on the Boost trunk I receive as output: "..\..\..\libs\test\build\Jamfile.v2:107: in modules.load rule boost-install unknown in module Jamfile</C:/Programming/VersionControl/boost/libs/test/build>. C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:314: in load-jamfile C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:62: in project.load C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:766: in project.use C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:89: in load-used-projects C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:73: in load C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:115: in load-parent C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:464: in initialize C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:309: in load-jamfile C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:62: in load C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:115: in load-parent C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:464: in initialize C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:309: in load-jamfile C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:62: in load C:/Programming/VersionControl/boost/tools/build/v2/build\project.jam:168: in project.find C:/Programming/VersionControl/boost/tools/build/v2\build-system.jam:570: in load C:\Programming\VersionControl\boost\tools\build\v2/kernel\modules.jam:283: in import C:\Programming\VersionControl\boost\tools\build\v2\kernel\bootstrap.jam:142: in boost-build C:\Programming\VersionControl\boost\boost-build.jam:17: in module scope" All other regression tests for libraries produce no Boost Build errors. Can anybody tell me what is wrong here ?

On 06/02/2011 10:28 AM, Gennadiy Rozental wrote:
Edward Diener <eldiener <at> tropicsoft.com> writes:
Attempting to run regression tests for the 'test' library on the Boost trunk I receive as output:
I've made no changes recently (unless someone else did). Maybe you should redirect this to Boost.Build guys.
The problem is the Jamfile load order caused by this structure: / - Jamroot: use-project /boost/test : libs/test/build ; - libs/test - Jamfile.v2 - build - Jamfile.v2 - test - Jamfile.v2 Running bjam in libs/test/test results in libs/test/build/Jamfile.v2 being loaded before Jamroot is fully loaded. (This is a bug in Boost.Build.) In Christ, Steven Watanabe

On 6/2/2011 1:40 PM, Steven Watanabe wrote:
On 06/02/2011 10:28 AM, Gennadiy Rozental wrote:
Edward Diener<eldiener<at> tropicsoft.com> writes:
Attempting to run regression tests for the 'test' library on the Boost trunk I receive as output:
I've made no changes recently (unless someone else did). Maybe you should redirect this to Boost.Build guys.
The problem is the Jamfile load order caused by this structure:
/ - Jamroot: use-project /boost/test : libs/test/build ;
- libs/test - Jamfile.v2 - build - Jamfile.v2 - test - Jamfile.v2
Running bjam in libs/test/test results in libs/test/build/Jamfile.v2 being loaded before Jamroot is fully loaded. (This is a bug in Boost.Build.)
Will this be fixed in Boost Build ? Is there a workaround to this problem ? I did not notice any other library failing in this way. is it the Test library directory structure which causes this problem in Boost Build, or something else ? As always, Steve, thanks for figuring this out.

On 6/2/2011 12:51 PM, Edward Diener wrote:
On 6/2/2011 1:40 PM, Steven Watanabe wrote:
On 06/02/2011 10:28 AM, Gennadiy Rozental wrote:
Edward Diener<eldiener<at> tropicsoft.com> writes:
Attempting to run regression tests for the 'test' library on the Boost trunk I receive as output:
I've made no changes recently (unless someone else did). Maybe you should redirect this to Boost.Build guys.
The problem is the Jamfile load order caused by this structure:
/ - Jamroot: use-project /boost/test : libs/test/build ;
- libs/test - Jamfile.v2 - build - Jamfile.v2 - test - Jamfile.v2
Running bjam in libs/test/test results in libs/test/build/Jamfile.v2 being loaded before Jamroot is fully loaded. (This is a bug in Boost.Build.)
Will this be fixed in Boost Build ? Is there a workaround to this problem ? I did not notice any other library failing in this way. is it the Test library directory structure which causes this problem in Boost Build, or something else ?
It's actually a bit more complicated than what Steven says. Somehow BB is failing to inherit the Boost Jamroot project (where that rule is defined) because there's an intervening libs/test/Jamfile.v2. Even though the Boost root project is fully loaded. So it is a BB bug, AFAWCT. And we are looking into it. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
participants (4)
-
Edward Diener
-
Gennadiy Rozental
-
Rene Rivera
-
Steven Watanabe