26 Jul 2004 alejandro   » (Master)

LibXML and XPath

This morning at work I finished the parsing of the config file for the VFS module with libxml and using Xpath expressions. It's so easy to navigate in a XML tree using XPath and get the nodeset values.

The trouble is still you have to compile the module over Samba and is ABI dependent so I have some troubles trying to use other external libraries with the autotools/libtool stuff, I don't know if the trouble is the generated shared object library or the libtool stuff is missing to add the libxml2, I'm beginning to hate autotools but although I'm using lib_LIBADD, LDADD or LDFLAGS, it's ignoring me and the 'ldd sambamodule.so' doesn't show anything about 'libxml'.

Anyway the stuff is compiling, so is hard to debug all the code in Samba and see why is crashing with the new xml config parser.

Automated Testing Frameworks

In the evening, I have been looking some interesting tools for automated testing. Here are the more interesting tools I have found:

STAF

Dart

STP/PLM: Automated testing of kernel patch trees or single patches.

Some STP Client API calls are in the Perl modules (DiskHandler.pm, Oprofile.pm and Tools.pm) like: create_disk_layout, setup_tools, create_logic_volume, make_one_disk, check_profile, report_all, os_detect, etc..

Tests: aim9/reaim, bonnie++, dbench, DBT*, DOTS, hackbench, contest, iozone, lmbench, LTP, memtest, pgmeter, tiobench, VM_Regress..

Tinderbox

Sourceforge Compile Farm

Test Execution Wrapper (TEX)

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!