Running functional tests on Linux is really frustrating because you
really can't do anything else while they are running (the tests are
really sensitive to focus and active window issues). For some reason
this is not such an issue on Windows (don't know about Mac).

But fear not, nested X Server can make this painless!

Yesterday I checked in couple of small helper scripts into
chandler/tools - the one you will be running is called xrt.sh.

xrt.sh will launch Xephyr nested X server window on display :1 at
resolution 1280x1024. It will then launch metacity and gnome-terminal in
the new window. Finally it will launch another gnome-terminal and run
rt.py in it with whatever options and arguments you passed in to xrt.sh.

Example:

cd chandler (the script assumes you are in the chandler directory)
./tools/xrt.sh -f

Once you are done, you can simply close/kill the Xephyr window.

Tip: You can also give a presentation over VNC from the nested X Server
window. This is nice because you can set the nested X Server to a
VNC-friendly resolution and color depth independently of your main X
Server resolution and color depth. I put a sample script on the internal
wiki.

-- 
  Heikki Toivonen


Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to