[Buildbot-devel] Setting the PATH for a test run

Paul Gregory aqsis1 at gmail.com
Thu Apr 6 09:55:11 UTC 2006


Hi,

I'm setting up BuildBot on my project (http://www.aqsis.org), and have
hit a bit of a problem that I can't find the solution to in the
documentation.

I have the builds working fine, but now I want to run our custom
regression test suite as part of a build. The RTS needs the executable
location of the build on the PATH to run properly. So I'm setting up a
'step.Test' with the command ["python", "rendertester.py", "rt_aqsis"]
to run the RTS, and the workdir set to 'aqsis/testing/regression',
which should be the path, that SVN checked out to. However, I have two
problems...

1) setting workdir='aqsis' for the build doesn't work, as SVN checked
out to 'build/aqsis', How can I get the base directory ('build') when
setting up the workdir?

2) I need to get '<base>/aqsis/output/bin' onto the PATH used for
running the regression test, how can I do that?

Any help much appreciated, and BTW, thanks for such a great, flexible
build system, this is going to make our project soooo much nicer.

--
Paul Gregory
http://www.aqsis.org
ICQ: 156088409




More information about the devel mailing list