[IGSTK-Developers] CMake, testing, and serial port devices

David Gobbi dgobbi at atamai.com
Thu Aug 25 17:00:43 EDT 2005


Hi All,

I'm thinking that there are a few CMake changes that will help us with 
the dashboard
testing of the code.

As you know, we want the dashboard machines to run the tracking tests 
with actual
tracking devices when possible.  If tracking devices aren't available, 
we want to
use pre-recorded tracking data.

The cmake options would be something like the following, to allow 
developers to
specify what serial ports the devices, if any, are attached to.  These 
options would
only be present if IGSTK_BUILD_TESTING is on:

IGSTK_TESTING_POLARIS_ATTACHED  (default OFF)
IGSTK_TESTING_AURORA_ATTACHED  (default  OFF)
IGSTK_TESTING_POLARIS_PORT_NUMBER (0, 1, 2 or 3)
IGSTK_TESTING_AURORA_PORT_NUMBER (0, 1, 2 or 3)

The settings could be stored in "igstkSystemInformation.h", which is 
included by
all of the tests.  The tests would use #ifdefs to decide whether to run with
pre-recorded data or with an actual tracking device.

Any objections?

 - David




More information about the IGSTK-Developers mailing list