summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-17 17:44:59 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-01-17 17:44:59 (GMT)
commit456631225b11163f52b82989c1824bcd9ca3471c (patch)
tree5bc6e15e60d31eeb533e2939f06429e47f825fef /Source/cmLocalGenerator.cxx
parent14fc7dd1dd72c09d3b77039a2f900e9e38290b3c (diff)
downloadCMake-456631225b11163f52b82989c1824bcd9ca3471c.zip
CMake-456631225b11163f52b82989c1824bcd9ca3471c.tar.gz
CMake-456631225b11163f52b82989c1824bcd9ca3471c.tar.bz2
ENH: use CTestTestfile.txt
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index c788842..3ac703d 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -174,14 +174,8 @@ void cmLocalGenerator::GenerateTestFiles()
}
std::string file = this->Makefile->GetStartOutputDirectory();
file += "/";
- if ( this->Makefile->IsSet("CTEST_NEW_FORMAT") )
- {
- file += "CTestTestfile.cmake";
- }
- else
- {
- file += "DartTestfile.txt";
- }
+ file += "CTestTestfile.cmake";
+
cmGeneratedFileStream fout(file.c_str());
fout.SetCopyIfDifferent(true);
@@ -196,10 +190,7 @@ void cmLocalGenerator::GenerateTestFiles()
<< "# tree CMakeLists.txt file, skipping any SUBDIRS() or "
<< "ADD_TEST() commands" << std::endl
<< "# that are excluded by CMake control structures, i.e. IF() "
- << "commands." << std::endl
- << "#" << std::endl
- << "# The next line is critical for Dart to work" << std::endl
- << "# Duh :-)" << std::endl << std::endl;
+ << "commands." << std::endl;
const char* testIncludeFile =
this->Makefile->GetProperty("TEST_INCLUDE_FILE");