summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-10 12:19:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-06-10 12:20:18 (GMT)
commitcf85c6bf85398213d965a41f81b604142456bd23 (patch)
treee2839b851e32fd0ad491116cc7d2fd9ea1c34a00 /Help
parent49c165450f05a125f7e7b81e9eb0c7ba4a3b595a (diff)
parent02f1271bdf810107ad5d3c0cffb74b472d706054 (diff)
downloadCMake-cf85c6bf85398213d965a41f81b604142456bd23.zip
CMake-cf85c6bf85398213d965a41f81b604142456bd23.tar.gz
CMake-cf85c6bf85398213d965a41f81b604142456bd23.tar.bz2
Merge topic 'ctest_custom_details'
02f1271bdf ctest: allow test output to override the 'details' field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6204
Diffstat (limited to 'Help')
-rw-r--r--Help/command/ctest_test.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/command/ctest_test.rst b/Help/command/ctest_test.rst
index 65555a6..2153c90 100644
--- a/Help/command/ctest_test.rst
+++ b/Help/command/ctest_test.rst
@@ -259,3 +259,14 @@ The following example demonstrates how to upload non-image files to CDash.
If the name of the file to upload is known at configure time, you can use the
:prop_test:`ATTACHED_FILES` or :prop_test:`ATTACHED_FILES_ON_FAIL` test
properties instead.
+
+Custom Details
+""""""""""""""
+
+The following example demonstrates how to specify a custom value for the
+``Test Details`` field displayed on CDash.
+
+.. code-block:: c++
+
+ std::cout <<
+ "<CTestDetails>My Custom Details Value</CTestDetails>" << std::endl;