KDL SVN trunk mod's to support CDash testing

Similar set of deltas as with RTT
{{{
Index: tests/CMakeLists.txt
===================================================================
--- tests/CMakeLists.txt (revision 30461)
+++ tests/CMakeLists.txt (working copy)
@@ -1,6 +1,4 @@
IF(ENABLE_TESTS)
- ENABLE_TESTING()
-
INCLUDE_DIRECTORIES(${PROJ_SOURCE_DIR}/src)

ADD_EXECUTABLE(framestest framestest.cpp test-runner.cpp)
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 30461)
+++ CMakeLists.txt (working copy)
@@ -47,6 +47,13 @@

SET( KDL_CFLAGS "" CACHE INTERNAL "")

+INCLUDE(CTest)
+ENABLE_TESTING()
+IF(BUILD_TESTING)
+ SET(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard")
+ MARK_AS_ADVANCED(BUILDNAME)
+ENDIF(BUILD_TESTING)
+
INCLUDE(${PROJ_SOURCE_DIR}/config/FindEigen2.cmake)

OPTION( OROCOS_PLUGIN "Build Orocos-plugin?" OFF)
}}}

On Mac OS X Leopard the solvertest fails with
{{{
kdl $ ./tests/solvertest
...square problem
KDL-SVD-HouseHolder
F.square problem
KDL-SVD-HouseHolder
F

/opt/dashboard/code/orocos/trunk-svn/kdl/tests/solvertest.cpp:302: Assertion
Test name: SolverTest::FkVelAndIkVelTest
equality assertion failed
- Expected: [ 0.935384 -0.808399 -0.00237605 0.110385 0.894966 0
.48887]
- Actual : [ 0.935384 -0.825349 0.0204413 0.269743 0.889424
0.3295]

/opt/dashboard/code/orocos/trunk-svn/kdl/tests/solvertest.cpp:334: Assertion
Test name: SolverTest::FkPosAndIkPosTest
assertion failed
- Expression: 0

Failures !!!
Run: 4 Failure total: 2 Failures: 2 Errors: 0
}}}

and similarly under Ubuntu Jaunty

{{{
sroderick@ubuntu kdl $ ./tests/solvertest
...square problem
KDL-SVD-HouseHolder
Time elapsed: 0.05
KDL-SVD-Givens
F.square problem
KDL-SVD-HouseHolder
F

solvertest.cpp:302:Assertion
Test name: SolverTest::FkVelAndIkVelTest
equality assertion failed
- Expected: [ 0.672866 0.989942 -0.849486 0.253695 0.373461 0.
304393]
- Actual : [ 0.672866 0.989941 -0.849485 0.253695 0.37346 0.
304392]

solvertest.cpp:334:Assertion
Test name: SolverTest::FkPosAndIkPosTest
assertion failed
- Expression: 0

Failures !!!
Run: 4 Failure total: 2 Failures: 2 Errors: 0
}}}