summaryrefslogtreecommitdiff
path: root/Source/cmTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-07 10:41:37 -0500
committerBrad King <brad.king@kitware.com>2009-01-07 10:41:37 -0500
commit377bebb9101b2bcf67e92143243fe26dba8abf6d (patch)
treed69e028a930d59ce7a638abd53f831bfc8f01224 /Source/cmTest.cxx
parent605f4bd34edff8a48e8d27c42fd5c264f010b1fb (diff)
downloadcmake-377bebb9101b2bcf67e92143243fe26dba8abf6d.tar.gz
ENH: Teach CTest to submit test property LABELS
This teaches CTest to send the test property "LABELS" in Test.xml dashboard submissions as Label elements inside a Labels element.
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r--Source/cmTest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx
index 2abebd817a..c7b16372de 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -110,6 +110,11 @@ void cmTest::DefineProperties(cmake *cm)
"For example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"");
cm->DefineProperty
+ ("LABELS", cmProperty::TEST,
+ "Specify a list of text labels associated with a test.",
+ "The list is reported in dashboard submissions.");
+
+ cm->DefineProperty
("MEASUREMENT", cmProperty::TEST,
"Specify a DART measurement and value to be reported for a test.",
"If set to a name then that name will be reported to DART as a "