From 23ba00941953edcb9f77d3b283c4d6cbaed51407 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 30 Apr 2004 15:17:30 -0400 Subject: ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest --- Source/ctest.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 9a0ebdc..7e95bd3 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -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 ) -- cgit v0.12