Boost logo

Boost Testing :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-07-26 06:28:17

Carl Daniel writes:
> I need some help with - assume I know nothing about Python and
> have neither the time nor the inclination to learn it right now :)

No problem :).

> Two machine configuration:
> - Machine A connected to the Internet
> - Machine B not connected to the Internet, but reachable from Machine A
> via a VPN tunnel
> - Regression testing to be done on Machine B
> Here's what I need to do:
> - On Machine A, download the latest and Boost tarball but
> don't unpack it

Assuming the latest ''(CVS /,

    python get-source download

will download the tarball ('boost-CVS-HEAD.tar.bz2') into the script's

> - Push those files through the VPN tunnel to Machine B

I'm assuming that this one is not a problem. Let us know if it's not
the case.

> - On Machine B, do a complete regression run, but don't download the
> tarball at the start, and don't upload results at the end.

    python cleanup
    python get-source unpack
    python update-itself
    python setup [--toolsets=...]
    python test --toolsets=...
    python collect-logs --runner=<your runner id>

This will give you a single 'results/<your runner id>.zip' that needs
to be uploaded back to us.

> - Push the results through the VPN tunnel to Machine A

Again, I'm assuming that this is covered. You probably also want to
transfer back a possibly updated ''.

> - On Machine B, clean up everything that was uploaded or created.

The 'python cleanup' step above takes care of this.

> - On Machine A, upload the results

    python upload-logs --runner=<your runner id>

will try to upload the corresponding zip from the 'results' directory.

> What options(s), command(s), etc, do I need to pass to to do
> each of the steps above, or how do I accomplish them most easily without
> using
> Assume that before each run there's nothing on Machine B except for Python.

The above was tested and should work out-of-box, but if it doesn't or
there are some additonal complications that we didn't account for,
please let us know!


Aleksey Gurtovoy
MetaCommunications Engineering

Boost-testing list run by mbergal at