summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-09-21 15:37:08 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2014-01-14 22:57:40 (GMT)
commit3a0d164bb2fa03966cdd7a17c0ce63b4d54f05b7 (patch)
tree859a1201b9ef9d4919b5ef86ff837ecfc1f5c587 /Help
parent31e1c39c57d61c208443973b38a4eb6f7f7d187f (diff)
downloadCMake-3a0d164bb2fa03966cdd7a17c0ce63b4d54f05b7.zip
CMake-3a0d164bb2fa03966cdd7a17c0ce63b4d54f05b7.tar.gz
CMake-3a0d164bb2fa03966cdd7a17c0ce63b4d54f05b7.tar.bz2
allow to mark a test as "Not Run" with a specific return code (#8466)
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-properties.7.rst1
-rw-r--r--Help/prop_test/SKIP_RETURN_CODE.rst9
2 files changed, 10 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
index d569e31..c0ec0fe 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -247,6 +247,7 @@ Properties on Tests
/prop_test/REQUIRED_FILES
/prop_test/RESOURCE_LOCK
/prop_test/RUN_SERIAL
+ /prop_test/SKIP_RETURN_CODE
/prop_test/TIMEOUT
/prop_test/WILL_FAIL
/prop_test/WORKING_DIRECTORY
diff --git a/Help/prop_test/SKIP_RETURN_CODE.rst b/Help/prop_test/SKIP_RETURN_CODE.rst
new file mode 100644
index 0000000..c61273c
--- /dev/null
+++ b/Help/prop_test/SKIP_RETURN_CODE.rst
@@ -0,0 +1,9 @@
+SKIP_RETURN_CODE
+----------------
+
+Return code to mark a test as skipped.
+
+Sometimes only a test itself can determine if all requirements for the
+test are met. If such a situation should not be considered a hard failure
+a return code of the process can be specified that will mark the test as
+"Not Run" if it is encountered.