summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/ctest.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 66ebb2a..fee6f2a 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -203,10 +203,7 @@ int main (int argc, char *argv[])
// run ctest
std::string output;
int res = inst.Run(args,&output);
- if (res)
- {
- std::cout << output;
- }
+ std::cout << output;
cmListFileCache::ClearCache();
return res;