Does anyone know why the core/swap tests, which are in a separate Jamfile, core/test/swap/Jamfile.v2, and have their own line in status/Jamfile.v2, core/test/swap # test-suite core/swap still appear in http://www.boost.org/development/tests/develop/developer/core.html instead of on their own page, core/swap? When they were in utility they did appear on utility/swap: http://www.boost.org/development/tests/develop/developer/utility-swap.html Or, to be more precise, does anyone know how we can make them appear on their own page. :-)
On Saturday 07 June 2014 01:39:30 Peter Dimov wrote:
Does anyone know why the core/swap tests, which are in a separate Jamfile, core/test/swap/Jamfile.v2, and have their own line in status/Jamfile.v2,
core/test/swap # test-suite core/swap
still appear in
http://www.boost.org/development/tests/develop/developer/core.html
instead of on their own page, core/swap?
When they were in utility they did appear on utility/swap:
http://www.boost.org/development/tests/develop/developer/utility-swap.html
Or, to be more precise, does anyone know how we can make them appear on their own page. :-)
That's probably because I moved them to core/test/swap, whereas in Utility they were in utility/swap/test. [Sigh] I was trying to clean up the mess we had in Core after throwing in bits of Utility. I'd really like to keep tests in one place though. If there's a way to separate the tests and keep them in core/test, that'd be great. Maybe we should tag them in the test/swap/Jamfile.v2 so that they all start with swap_?
On Saturday 07 June 2014 01:58:25 Peter Dimov wrote:
Andrey Semashev wrote:
Maybe we should tag them in the test/swap/Jamfile.v2 so that they all start with swap_?
Yes please. This will be good enough a way to group them.
Done. The unfortunate part is that the old rows in the table will probably persist for quite some time.
Daniel James wrote:
On 6 June 2014 23:39, Peter Dimov
wrote: Or, to be more precise, does anyone know how we can make them appear on their own page. :-) You create a sublibs file in the root of the module. You can see them in functional, utility, spirit etc.
And AFAIK besides creation of this sublibs file in the module's main directory you have to separate sub-library tests from the library's tests. It's even more magical because it seems that the test directory is special for bjam. To display properly on the regression tests list the directories containing tests should reflect exactly this pattern: module/test module/sublib1/test module/sublib2/test # etc. So in the case of Core the tests for swap should be placed in core/swap/test (NOT core/test/swap). Then you'll see swap tests separated from other Core tests. You can play with it running b2 status --dump-tests --debug-configuration and checking the generic paths generated by the bjam for all of the the tests. To simplify things you may leave only Core tests in status/Jamfile. Regards, Adam
participants (4)
-
Adam Wulkiewicz
-
Andrey Semashev
-
Daniel James
-
Peter Dimov