After some head-scratching, here's one that does automatic checkout
(the trick is that the variables are all still called CVS, except for
one...nice). I think the update is implicit and you don't need to
specify anything.

I need a bit more work to get the tests running properly (some
environment problems) on Windows...

- Noel

On 9 February 2010 19:13, Geoffrey Hutchison <[email protected]> wrote:
>
> 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-win.cmake
Description: Binary data

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to