Boost logo

Boost-Build :

From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2008-07-04 04:58:30


Hi Jurko !

On Friday 04 July 2008, Jurko Gospodnetiæ wrote:
> Hi Juergen.

> > 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.

Well, those are _low_ level tests for basic functionality.
My Qt test case tests "end-user" functionality. They can even be used as
examples on how to use qt4.jam. And for testing if the end users has a
working "user-config.jam" with correct Qt4 settings.

> 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.

Well, we've got one qt based testcase there already, composed by Volodya
and myself ages ago :-))
I could start from that, I guess.

But I'd rather do the testing on "end-user" level.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

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