On Feb 9, 2010, at 6:59 AM, Noel O'Boyle wrote:

> We really need to get CDash set up as soon as possible. There's no way
> to stop these sorts of regressions without automated tests.

Yes, we need many more tests. They're not hard to write. We also need to fix 
the tests we have. There are a few steps.

1) I've just made ENABLE_TESTS default to "ON" for the CMake builds.

2) Run "make test" after building trunk. Hint: there are currently some crashes 
and errors when building outside of the source directory.

3) Start checking our dashboard: 
http://my.cdash.org/index.php?project=Open%20Babel

4) Set up and run a nightly test script using CTest:
 - Create a directory for the nightly source (should be "clean" from trunk, not 
with any of your own modifications)
 --   mine is ${HOME}/Devel/Build/nightly/openbabel
 - Run "svn checkout 
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/trunk 
openbabel
 - Copy the enclosed ob-mac.cmake file and modify as needed (specifically 
CTEST_INITIAL_CACHE and the CTEST_DASHBOARD_ROOT)
 - Run the command ctest -S /path/to/ob-mac.cmake via cron.

Cheers,
-Geoff

P.S. Marcus, if you can help streamline this (i.e., modify the Cmake file to 
automatically checkout and/or update the source tree, I'd appreciate it. It 
doesn't work for me.)

Attachment: ob-cron.sh
Description: Binary data

Attachment: ob-mac.cmake
Description: Binary data

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to