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

Luis Ibanez luis.ibanez at kitware.com
Thu Aug 25 19:48:37 EDT 2005


Hi David,

That sounds great !

   Luis


-------------------
David Gobbi wrote:
> 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
> 
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
> 
> 




More information about the IGSTK-Developers mailing list