diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2017-03-27 18:08:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-29 14:29:57 (GMT) |
commit | b070947dffd141d50227c59feed4c3d784b39157 (patch) | |
tree | b9c83e19b826a4d01e0aba3df85f28bbd0f443ef /Help/prop_test/DISABLED.rst | |
parent | 42c68aadf81a47d563392421636e14ef77644e03 (diff) | |
download | CMake-b070947dffd141d50227c59feed4c3d784b39157.zip CMake-b070947dffd141d50227c59feed4c3d784b39157.tar.gz CMake-b070947dffd141d50227c59feed4c3d784b39157.tar.bz2 |
Add 'DISABLED' test property
When this property is set, the test is skipped and its status is
automatically set to 'Not Run'. A disabled test will not be counted in
the total number of tests and its completion status will be 'Disabled'.
Diffstat (limited to 'Help/prop_test/DISABLED.rst')
-rw-r--r-- | Help/prop_test/DISABLED.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/prop_test/DISABLED.rst b/Help/prop_test/DISABLED.rst new file mode 100644 index 0000000..c18ae7f --- /dev/null +++ b/Help/prop_test/DISABLED.rst @@ -0,0 +1,15 @@ +DISABLED +-------- + +If set to true, the test will be skipped and its status will be 'Not Run'. A +DISABLED test will not be counted in the total number of tests and its +completion status will be reported to CDash as 'Disabled'. + +A DISABLED test does not participate in test fixture dependency resolution. +If a DISABLED test has fixture requirements defined in its +:prop_test:`FIXTURES_REQUIRED` property, it will not cause setup or cleanup +tests for those fixtures to be added to the test set. + +If a test with the :prop_test:`FIXTURES_SETUP` property set is DISABLED, the +fixture behavior will be as though that setup test was passing and any test +case requiring that fixture will still run. |