summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableTestingCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEnableTestingCommand.cxx')
-rw-r--r--Source/cmEnableTestingCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmEnableTestingCommand.cxx b/Source/cmEnableTestingCommand.cxx
index fe113c6..cc9c7cb 100644
--- a/Source/cmEnableTestingCommand.cxx
+++ b/Source/cmEnableTestingCommand.cxx
@@ -37,13 +37,13 @@ void cmEnableTestingCommand::CreateDartTestfileForMakefile(cmMakefile *mf)
std::string fname;
fname = mf->GetStartOutputDirectory();
fname += "/";
- if ( m_Makefile->IsSet("DART_ROOT") )
+ if ( m_Makefile->IsSet("CTEST_NEW_FORMAT") )
{
- fname += "DartTestfile.txt";
+ fname += "CTestTestfile.cmake";
}
else
{
- fname += "CTestTestfile.cmake";
+ fname += "DartTestfile.txt";
}
cmSystemTools::MakeDirectory(mf->GetStartOutputDirectory());