21 Jan 2005 msa   » (Journeyer)

Put up two programs we've been using a bit on our projects.

Disttest is a distributed unittesting runner. You simply set the DISTTEST_HOSTS variable to a space-separated list of hostnames to connect to using SSH, and then run "disttest". The nodes must all have the same filesystem (usually an NFS-mounted /home) and have the Disttest program installed. You even gain a bit with just one computer by setting the variable to "localhost localhost". :-)

There are currently two annoying problem with it, though. For some reason, 1) the unittest program connecting to the X server sometimes fails to provide the correct authentication, and 2) sometimes the actual connection to the X server can't be established. I think these are related to 1) congestion on the shared .Xauthority file, and 2) a too small listen() queue on the forwarding port by the SSH daemon. Both problems show up when using too many (over 4?) hosts, which is the whole point of the program! Sigh.

PyCov is a python code coverage calculation tool. It can be used to check how much of the code your unittests use, to detect functions or whole classes which are unused. Admittedly it's a bit of a rush job, which shows up as an ugly interface and a lack of understanding of inner classes/functions etc...

Tried to find documentation on the Eclipse EMF metametamodel, but could only find some old pictures in a book; finally had to surf some JavaDoc pages and by trial-and-error, the head version of Coral currently seems to be able to load ECORE models (Eclipse metamodels).

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!