ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest
This commit is contained in:
parent
51d6c66431
commit
23ba009419
|
@ -101,6 +101,8 @@ static const cmDocumentationEntry cmDocumentationSeeAlso[] =
|
||||||
int main (int argc, char *argv[])
|
int main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
cmSystemTools::EnableMSVCDebugHook();
|
cmSystemTools::EnableMSVCDebugHook();
|
||||||
|
cmSystemTools::PutEnv("DART_TEST_FROM_DART");
|
||||||
|
cmSystemTools::PutEnv("DASHBOARD_TEST_FROM_CTEST");
|
||||||
int nocwd = 0;
|
int nocwd = 0;
|
||||||
|
|
||||||
if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 )
|
if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 )
|
||||||
|
|
Loading…
Reference in New Issue