summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-03-02 20:34:37 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-03-02 20:38:02 (GMT)
commit767ffba8ff37ccb510707b768086cb189970d8c6 (patch)
tree64f088977d94731b9a2a34416d806f4dcd38cfae /Source/cmTest.cxx
parent634c3113ed53cd05230e7c6418e6f9c5b5e630b2 (diff)
downloadCMake-767ffba8ff37ccb510707b768086cb189970d8c6.zip
CMake-767ffba8ff37ccb510707b768086cb189970d8c6.tar.gz
CMake-767ffba8ff37ccb510707b768086cb189970d8c6.tar.bz2
Added RESOURCE_LOCK test property.
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r--Source/cmTest.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx
index b52bc19..4e9b973 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -143,6 +143,12 @@ void cmTest::DefineProperties(cmake *cm)
"The list is reported in dashboard submissions.");
cm->DefineProperty
+ ("RESOURCE_LOCK", cmProperty::TEST,
+ "Specify a list of resources that are locked by this test.",
+ "If multiple tests specify the same resource lock, they are guaranteed "
+ "not to run concurrently.");
+
+ cm->DefineProperty
("MEASUREMENT", cmProperty::TEST,
"Specify a CDASH measurement and value to be reported for a test.",
"If set to a name then that name will be reported to CDASH as a "