diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-04 16:22:08 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-04 16:22:08 (GMT) |
commit | 0dd2b6eb80a3fe288cf936e7bd899733231262aa (patch) | |
tree | 4b7e2493d03f7ffb938acbf8ff581a392431dc4d /Source/cmEnableTestingCommand.cxx | |
parent | f9545f3fef513dd2d09b9b611111b17abc3609de (diff) | |
download | CMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.zip CMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.tar.gz CMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.tar.bz2 |
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 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()); |