[CMake] Trouble starting ctest run with intention of reporting to dashboard

Tyler Roscoe tyler at cryptio.net
Thu Jun 4 11:03:17 EDT 2009


On Wed, Jun 03, 2009 at 07:21:33PM -0400, Steve Huston wrote:
> C:\ace\exported\qpid> ctest -S trunk_nightly.cmake --ctest-config
> trunk\qpid\cpp\CTestConfig.cmake
> Unable to run ctest:
> Cannot find file:
> C:/ace/exported/qpid/trunk/qpid/cpp/build/DartConfiguration.tcl
>    Site:
>    Build name:
> WARNING: No nightly start time found please set in CTestConfig.cmake
> or DartConfig.cmake
> Problem initializing the dashboard.
> 
> It doesn't seem to see my CTestConfig.cmake file - it has a
> NIGHTLY_START_TIME in it.

ctest might expect to find CTestConfig.cmake relative to your current
binary directory rather than relative to your working directory. Maybe
try fixing up your --ctest-config path or using an absolute path to your
CTestConfig?

> And what's DartConfiguration.tcl? It wasn't mentioned in the
> "Mastering Cmake" book, and I'm trying to use cdash, not dart.

Dart is the ancestor of CDash. CMake still writes out a
DartConfiguration.tcl in every binary directory where include(CTest) has
been run.

So actually, make sure you are doing include(CTest) in your CMakeLists.
Maybe this will fix your first problem as well?

tyler


More information about the CMake mailing list