summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-06-02 16:56:31 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-06-02 16:56:31 (GMT)
commitf59d729c7cb03babafac0cee792b9a3127e51d4d (patch)
tree972d36613629b6cc1b82ba6c05ba193abeec7598 /Source
parent1cc918a770bf6dc763b593df39946667dc572c7d (diff)
downloadCMake-f59d729c7cb03babafac0cee792b9a3127e51d4d.zip
CMake-f59d729c7cb03babafac0cee792b9a3127e51d4d.tar.gz
CMake-f59d729c7cb03babafac0cee792b9a3127e51d4d.tar.bz2
ctest: Display disabled status when ctest -N is called
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 2d4726c..a9ed713 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -720,9 +720,13 @@ void cmCTestMultiProcessHandler::PrintTestList()
std::setw(3 + getNumWidth(this->TestHandler->GetMaxIndex()))
<< indexStr.str(),
this->Quiet);
- cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, " ", this->Quiet);
- cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, p.Name << std::endl,
+ cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, " " << p.Name,
this->Quiet);
+ if (p.Disabled) {
+ cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, " (Disabled)",
+ this->Quiet);
+ }
+ cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, std::endl, this->Quiet);
}
cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, std::endl