Boost logo

Boost Testing :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-11 11:07:52


Aleksey Gurtovoy wrote:

> Daniel James writes:
>> Daniel James wrote:
>>> Aleksey Gurtovoy wrote:
>>>>
>>>> I'll try to take a look at it later tonight.
>>> I'm going to try just running the tests from status/Jamfile so that
>>> all the functional tests are bundled together. It isn't the best
>>> solution, but there isn't much time until the release.
>>
>> The tests are appearing now. Was that you? Or did my change work?
>
> The latter.

Yea.. Daniel has moved the tests to status/Jamfile, which is not the perfect
solution. The problem is that

1. The lib/functional directory does not include file named
"sublibs" (unlike say "lib/algorithm"), so process_jam_logs thinks the
library name is "functional".

2. There's also test directly in lib/functional, so adding the "sublibs"
file might create problems too.

Why don't we fix the "test_path_to_library_name" function. Say, it's given:

   bin.v2/libs/functional/hash/test/hash_built_in_array_test.test/....

It can find the first element that looks like "whatever.test" and take
everything between "bin.v2/libs" and "test/<the element ending in .test> as
the name of the library?

Will that break anything? A quick change I've just made works OK for
functional/hash.

- Volodya

 


Boost-testing list run by mbergal at meta-comm.com