Boost logo

Boost Testing :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-22 09:55:55

Martin Wille wrote:
> Tobias Schwinger wrote:
>>Before setting up a page for this one, I'd probably consider adding
>> # Remove .test files older than 20 days automatically
>> find $boost_root -type f -name '*.test' -ctime +20 -exec rm {} ';'
> I think this is a bad idea. The point of running tests incrementally is
> *not* to run tests that don't need to be run.
> It would be cool if the build system would be able to automatically
> remove results for tests that don't exist anymore. However, I doubt this
> would be easy to implement, if possible at all.

OK. When libs/<lib>/test/Jamfile changes, the tests should be rebuilt and rerun anyway. At this point removing the entire test folder won't hurt.

>> BTW. 'find' and the options used above are "SysV primordial soup" so it should be portable to pretty much any *NIX environment.
> It might be more important that find is also defined by POSIX.

Well, AFAIK that 'exec' option isn't, though 'xargs' can be used to get away without...



Boost-testing list run by mbergal at