summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 82797e0..799a423 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -927,6 +927,16 @@ std::string cmCTestTestHandler::FindTheExecutable(const char *exe)
if ( m_CTest->GetConfigType() == "" )
{
// No config type, so try to guess it
+ if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Deployment"))
+ {
+ return fullPath;
+ }
+
+ if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Development"))
+ {
+ return fullPath;
+ }
+
if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Release"))
{
return fullPath;