summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGenericHandler.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-12-30 14:13:02 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-12-30 14:13:02 (GMT)
commit9457ca3cf593a82f9ffb90534ffe6285c235b8c1 (patch)
tree47a3caa433385feceea6379f2c52d11afc679aaf /Source/CTest/cmCTestGenericHandler.cxx
parentb6402578843ea0b5ae05028b57465aa877e12c28 (diff)
downloadCMake-9457ca3cf593a82f9ffb90534ffe6285c235b8c1.zip
CMake-9457ca3cf593a82f9ffb90534ffe6285c235b8c1.tar.gz
CMake-9457ca3cf593a82f9ffb90534ffe6285c235b8c1.tar.bz2
ENH: Add OPTIONS argument to the ctest_configure command so that you can pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages.
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index 1695bc1..6c06f0b 100644
--- a/Source/CTest/cmCTestGenericHandler.cxx
+++ b/Source/CTest/cmCTestGenericHandler.cxx
@@ -123,8 +123,10 @@ bool cmCTestGenericHandler::StartResultingXML(const char* name,
if(this->CTest->GetCurrentTag().empty())
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
- "Current Tag empty, this may mean"
- " NightlyStartTime was not set correctly." << std::endl);
+ "Current Tag empty, this may mean NightlyStartTime / "
+ "CTEST_NIGHTLY_START_TIME was not set correctly. Or "
+ "maybe you forgot to call ctest_start() before calling "
+ "ctest_configure()." << std::endl);
cmSystemTools::SetFatalErrorOccured();
return false;
}
@@ -175,4 +177,3 @@ bool cmCTestGenericHandler::StartLogFile(const char* name,
}
return true;
}
-