BUG: Detect when TestsToRunInformation is not set

This commit is contained in:
Andy Cedilnik 2005-02-17 16:59:22 -05:00
parent d5aafe1b93
commit 28f2dfb752
1 changed files with 4 additions and 0 deletions

View File

@ -1198,6 +1198,10 @@ void cmCTestTestHandler::SetExcludeRegExp(const char *arg)
//----------------------------------------------------------------------
void cmCTestTestHandler::SetTestsToRunInformation(const char* in)
{
if ( !in )
{
return;
}
this->TestsToRunString = in;
// if the argument is a file, then read it and use the contents as the string
if(cmSystemTools::FileExists(in))