diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-04 12:22:08 -0400 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-04 12:22:08 -0400 |
commit | 0dd2b6eb80a3fe288cf936e7bd899733231262aa (patch) | |
tree | 4b7e2493d03f7ffb938acbf8ff581a392431dc4d /Source/cmEnableTestingCommand.cxx | |
parent | f9545f3fef513dd2d09b9b611111b17abc3609de (diff) | |
download | cmake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.tar.gz |
BUG: By default disable new files.
Diffstat (limited to 'Source/cmEnableTestingCommand.cxx')
-rw-r--r-- | Source/cmEnableTestingCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmEnableTestingCommand.cxx b/Source/cmEnableTestingCommand.cxx index fe113c6912..cc9c7cb7aa 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()); |