ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest

This commit is contained in:
Andy Cedilnik 2004-04-30 15:17:30 -04:00
parent 51d6c66431
commit 23ba009419
1 changed files with 2 additions and 0 deletions
Source

View File

@ -101,6 +101,8 @@ static const cmDocumentationEntry cmDocumentationSeeAlso[] =
int main (int argc, char *argv[])
{
cmSystemTools::EnableMSVCDebugHook();
cmSystemTools::PutEnv("DART_TEST_FROM_DART");
cmSystemTools::PutEnv("DASHBOARD_TEST_FROM_CTEST");
int nocwd = 0;
if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 )