diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-30 19:17:30 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-30 19:17:30 (GMT) |
commit | 23ba00941953edcb9f77d3b283c4d6cbaed51407 (patch) | |
tree | b8561b1e922c8a38506e216f20bfbb1e9d03b027 /Source/ctest.cxx | |
parent | 51d6c66431ba68af3cd57972f7ac99dc0fdf7389 (diff) | |
download | CMake-23ba00941953edcb9f77d3b283c4d6cbaed51407.zip CMake-23ba00941953edcb9f77d3b283c4d6cbaed51407.tar.gz CMake-23ba00941953edcb9f77d3b283c4d6cbaed51407.tar.bz2 |
ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) |