summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index d63ff02..cbf1946 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1032,13 +1032,13 @@ void cmGlobalGenerator::SetupTests()
std::string fname;
fname = m_CMakeInstance->GetStartOutputDirectory();
fname += "/";
- if ( m_LocalGenerators[0]->GetMakefile()->IsSet("DART_ROOT") )
+ if ( m_LocalGenerators[0]->GetMakefile()->IsSet("CTEST_NEW_FORMAT") )
{
- fname += "DartTestfile.txt";
+ fname += "CTestTestfile.txt";
}
else
{
- fname += "CTestTestfile.txt";
+ fname += "DartTestfile.txt";
}
// If the file doesn't exist, then ENABLE_TESTING hasn't been run