summaryrefslogtreecommitdiffstats
path: root/Source/cmTestsCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-06 17:58:18 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-06 17:58:18 (GMT)
commit37801ddaaec78597d5ac000bf60f6948ff865d06 (patch)
treea39ab5ff5c125d6e2c5dfb4235cf041518fbd266 /Source/cmTestsCommand.cxx
parent355278324e0e96048e27195249161c1c68a7c412 (diff)
downloadCMake-37801ddaaec78597d5ac000bf60f6948ff865d06.zip
CMake-37801ddaaec78597d5ac000bf60f6948ff865d06.tar.gz
CMake-37801ddaaec78597d5ac000bf60f6948ff865d06.tar.bz2
added enable testing deprecated some commands
Diffstat (limited to 'Source/cmTestsCommand.cxx')
-rw-r--r--Source/cmTestsCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTestsCommand.cxx b/Source/cmTestsCommand.cxx
index d3d8519..39416ee 100644
--- a/Source/cmTestsCommand.cxx
+++ b/Source/cmTestsCommand.cxx
@@ -44,6 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bool cmTestsCommand::InitialPass(std::vector<std::string>& args)
{
// does nothing in CMake
+ this->SetError("The TEST command is deprecated, please use ADD_TEST instead.");
return true;
}