summaryrefslogtreecommitdiffstats
path: root/Source/cmaketest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-28 20:34:02 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-28 20:34:02 (GMT)
commit7ebbc4399c12b0222fb15f8ce21b83ad948b5ee4 (patch)
tree7822fd968d1122900829288fab4be5f26ecad22e /Source/cmaketest.cxx
parent499cef0367b1d578082084fa70e6a6c54ddb0d7a (diff)
downloadCMake-7ebbc4399c12b0222fb15f8ce21b83ad948b5ee4.zip
CMake-7ebbc4399c12b0222fb15f8ce21b83ad948b5ee4.tar.gz
CMake-7ebbc4399c12b0222fb15f8ce21b83ad948b5ee4.tar.bz2
no more singletons
Diffstat (limited to 'Source/cmaketest.cxx')
-rw-r--r--Source/cmaketest.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index 5b2a4c4..4228053 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -26,26 +26,9 @@
#endif
-// Create a class to clean up all the registered generators in case of return
-struct CleanUp
-{
- ~CleanUp()
- {
- cmMakefileGenerator::UnRegisterGenerators();
- cmCacheManager::DeleteInstance();
-
- }
- void UseIt()
- {
- }
-};
-
-
// this is a test driver program for cmake.
int main (int argc, char **argv)
{
- CleanUp cleanup;
- cleanup.UseIt();
if (argc < 4)
{
std::cerr << "Usage: " << argv[0] << " test-src-dir test-bin-dir test-executable\n";
@@ -302,6 +285,5 @@ int main (int argc, char **argv)
cmSystemTools::Error("test executable ", fullPath.c_str(),
"returned a non-zero value");
}
- cmCacheManager::DeleteInstance();
return ret;
}