diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-15 22:26:00 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-15 22:26:00 (GMT) |
commit | 5b232ded151fc22144978b74cdaf7031d466e527 (patch) | |
tree | b20c096cdc01697dd5bd3a3a2a5df1dc95e4c263 /Source/ctest.cxx | |
parent | ce8a34907a47b06f62f27aff1e1d6cb8dc9ee76e (diff) | |
download | CMake-5b232ded151fc22144978b74cdaf7031d466e527.zip CMake-5b232ded151fc22144978b74cdaf7031d466e527.tar.gz CMake-5b232ded151fc22144978b74cdaf7031d466e527.tar.bz2 |
ENH: Add initial memory check support which works for Valgrind
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index ef7a5c7..902955d 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -197,10 +197,10 @@ int main (int argc, char *argv[]) inst.SetTestModel(cmCTest::EXPERIMENTAL); inst.SetTest("Test"); } - else if ( targ == "ExperimentalPurify" ) + else if ( targ == "ExperimentalMemCheck" || targ == "ExperimentalPurify" ) { inst.SetTestModel(cmCTest::EXPERIMENTAL); - inst.SetTest("Purify"); + inst.SetTest("MemCheck"); } else if ( targ == "ExperimentalCoverage" ) { @@ -248,10 +248,10 @@ int main (int argc, char *argv[]) inst.SetTestModel(cmCTest::CONTINUOUS); inst.SetTest("Test"); } - else if ( targ == "ContinuousPurify" ) + else if ( targ == "ContinuousMemCheck" || targ == "ContinuousPurify" ) { inst.SetTestModel(cmCTest::CONTINUOUS); - inst.SetTest("Purify"); + inst.SetTest("MemCheck"); } else if ( targ == "ContinuousCoverage" ) { @@ -299,10 +299,10 @@ int main (int argc, char *argv[]) inst.SetTestModel(cmCTest::NIGHTLY); inst.SetTest("Test"); } - else if ( targ == "NightlyPurify" ) + else if ( targ == "NightlyMemCheck" || targ == "NightlyPurify" ) { inst.SetTestModel(cmCTest::NIGHTLY); - inst.SetTest("Purify"); + inst.SetTest("MemCheck"); } else if ( targ == "NightlyCoverage" ) { @@ -320,7 +320,7 @@ int main (int argc, char *argv[]) inst.SetTest("Start"); inst.SetTest("Configure"); inst.SetTest("Build"); - inst.SetTest("Purify"); + inst.SetTest("MemCheck"); inst.SetTest("Coverage"); inst.SetTest("Submit"); } @@ -331,7 +331,7 @@ int main (int argc, char *argv[]) inst.SetTest("Update"); inst.SetTest("Configure"); inst.SetTest("Build"); - inst.SetTest("Purify"); + inst.SetTest("MemCheck"); inst.SetTest("Coverage"); inst.SetTest("Submit"); } |