From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-09-17 07:14:55
On 09/17/2005 04:54 AM, Reece Dunn wrote:
> and BB will automatically sync with the latest code from CVS. Or you
> could do:
> bjam ... label=Build10
> to automatically sync with Build10 of the codebase and perform the tests
> with that. You could also do this with a project build so you could go
> back to earlier builds of that product and run tests for it.
> You could even use this to automate logging the changelist number/date
> that the build occurred, so you have a log of what version of the
> codebase you are using.
You could actually record this changelist number/date information for
each executable or for each part of you code base which you test.
Say, for test1, you'd record which version of each source file
used, place that information in test1.log together with the
results of that test, and store *that* in vcs. Thus you'd
have a log of which version's of sources were used during
each test passed.
> Also, if you wanted to go all out, you could add the build log into the
> VCS after the build has finished.
Ah, you anticipated my "store *that* in vcs" ;)
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk