summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorRoman Wüger <roman.wueger@gmx.at>2015-09-17 15:06:27 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-18 15:32:06 (GMT)
commitfd47df45030733341858fa33ee96015d64c73c03 (patch)
treed763169672205165693ac1afb9ff3af525bd2681 /Source/CTest
parent6e3151f6ccd035ffd704d3cb0162c873d5e95e15 (diff)
downloadCMake-fd47df45030733341858fa33ee96015d64c73c03.zip
CMake-fd47df45030733341858fa33ee96015d64c73c03.tar.gz
CMake-fd47df45030733341858fa33ee96015d64c73c03.tar.bz2
CTest: Add options to limit output of passed and failed tests
Add ctest command-line options: --test-output-size-passed <n> --test-output-size-failed <n> to set the amount of test output to store in Test.xml as a command-line dashboard client.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 14067d5..c635430 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -65,6 +65,11 @@ public:
void SetMaxIndex(int n) {this->MaxIndex = n;}
int GetMaxIndex() {return this->MaxIndex;}
+ void SetTestOutputSizePassed(int n)
+ { this->CustomMaximumPassedTestOutputSize = n; }
+ void SetTestOutputSizeFailed(int n)
+ { this->CustomMaximumFailedTestOutputSize = n; }
+
///! pass the -I argument down
void SetTestsToRunInformation(const char*);