On May 20, 2011, at 8:22 PM, Dmitry Lomov wrote:

> I am trying to make run-api-tests run at build time.
> I wonder what is the right way to verify my changes locally (aka what do I 
> run to simulate build on bots locally?)

Here are instructions I was given by Bill Siegrist (_wms) a while back:

> The basic steps to making a test version of build.webkit.org are:
> 
> 
> 1. Install stuff on a Mac  (I use MacPorts for this, but using the built-in 
> easy_install for Python 2.6 on SnowLeopard should work too)
>       a) buildbot   (port name: buildbot)
>       b) simplejson (port name: py26-simplejson)
> 
> 2. Create a master by doing: buildbot create-master 
> /path/to/an/empty/directory
> 
> 3. Get the files from the webkit svn repo (master.cfg and config.json). Put 
> them in your buildbot master directory from when you did `buildbot 
> create-master` in step 2.
> 
> 4. create a passwords.json in the master directory with a dictionary of 
> slavename->password keys like:  { "apple-test-slave": "thepassword", }
> 
> 5. Follow normal buildbot documents to start the master (run `buildbot start` 
> in the master directory). The master website should be visible on port 8710.
> 
> 6. Send changes using the buildbot tool. The following uses a lot of bogus 
> data. All that should matter for testing scheduling/filtering is the branch 
> value given to the "-b" option. 
> 
> $ buildbot sendchange -b "branches/foo" -r 12345 -u someuser 
> --master=localhost:17000 -m "commit message" -R therepo somefiles
> 
> Note that builds will not start until there have been no changes for 45 
> seconds (this is set in config.json via treeStableTimer). 
> 
> 
> See also:   http://buildbot.net/buildbot/docs/current/

-Adam

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to