summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx')
-rw-r--r--Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx b/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
index 024ed21..5784656 100644
--- a/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
+++ b/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
@@ -29,7 +29,9 @@ bool cmCTestEmptyBinaryDirectoryCommand::InitialPass(
if ( !cmCTestScriptHandler::EmptyBinaryDirectory(args[0].c_str()) )
{
- this->SetError("problem removing the binary directory");
+ cmOStringStream ostr;
+ ostr << "problem removing the binary directory: " << args[0].c_str();
+ this->SetError(ostr.str().c_str());
return false;
}