summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index b91147c..d1e89df 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -574,7 +574,10 @@ int cmCTestScriptHandler::RunConfigurationDashboard()
// clear the binary directory?
if (m_EmptyBinDir)
{
- cmCTestScriptHandler::EmptyBinaryDirectory(m_BinaryDir.c_str());
+ if ( !cmCTestScriptHandler::EmptyBinaryDirectory(m_BinaryDir.c_str()) )
+ {
+ std::cerr << "Problem removing the binary directory" << std::endl;
+ }
}
// make sure the binary directory exists if it isn't the srcdir