Boost logo

Boost-Build :

From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-04 03:12:56


   Hi Juergen.

> I've recently added support for the Qt 4.4 libraries to qt4.jam and
> encountered a lot of code duplication.
> I've therefore refactored the library declaration code and done a major
> cleaned. Please find the relevant patch attached. I'll make some minor
> renames over the weekend and then commit.
> I've built myself a simple testsuite to unit-test the changes and would
> like to hook it into the Boost testsuite.
> Does anyone have an idea _where_ to put it ?
> Please consider that you have Qt4 installed and setup in user-config.jam
> in order to run the tests...

   That seems like something to into the Boost Build test suite. That
one is located under the tools/build/v2/test folder.

   The tests there are written in Python. There is a some tester class
there with some built-in functionality to ease your testing like making
running Boost Build in a temporary folder, creating input files,
checking which files for removed/created/modified by the build etc.

   Add new test scripts based on existing examples and then modify the
test_all.py script to add your tests to the test suite. You may need to
add some more code there to make those test optional as not everyone
will have the necessary software installed. There should some examples
of such optional test cases there already.

   Hope this helps.

   Best regards,
     Jurko Gospodnetiæ


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