OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
cmake-3.10
/
Help
/
prop_test
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:00:25 AM
rwxr-xr-x
📄
ATTACHED_FILES.rst
206 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
ATTACHED_FILES_ON_FAIL.rst
218 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
COST.rst
235 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
DEPENDS.rst
467 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
DISABLED.rst
690 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
ENVIRONMENT.rst
319 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
FAIL_REGULAR_EXPRESSION.rst
406 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_CLEANUP.rst
1.83 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_REQUIRED.rst
4.8 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_SETUP.rst
1.89 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
LABELS.rst
117 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
MEASUREMENT.rst
268 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
PASS_REGULAR_EXPRESSION.rst
483 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
PROCESSORS.rst
574 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
REQUIRED_FILES.rst
155 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
RESOURCE_LOCK.rst
277 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
RUN_SERIAL.rst
229 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
SKIP_RETURN_CODE.rst
325 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
TIMEOUT.rst
318 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
TIMEOUT_AFTER_MATCH.rst
1.39 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
WILL_FAIL.rst
184 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
WORKING_DIRECTORY.rst
185 bytes
01/18/2018 02:48:42 PM
rw-r--r--
Editing: FIXTURES_SETUP.rst
Close
FIXTURES_SETUP -------------- Specifies a list of fixtures for which the test is to be treated as a setup test. These fixture names are distinct from test case names and are not required to have any similarity to the names of tests associated with them. Fixture setup tests are ordinary tests with all of the usual test functionality. Setting the ``FIXTURES_SETUP`` property for a test has two primary effects: - CTest will ensure the test executes before any other test which lists the fixture name(s) in its :prop_test:`FIXTURES_REQUIRED` property. - If CTest is asked to run only a subset of tests (e.g. using regular expressions or the ``--rerun-failed`` option) and the setup test is not in the set of tests to run, it will automatically be added if any tests in the set require any fixture listed in ``FIXTURES_SETUP``. A setup test can have multiple fixtures listed in its ``FIXTURES_SETUP`` property. It will execute only once for the whole CTest run, not once for each fixture. A fixture can also have more than one setup test defined. If there are multiple setup tests for a fixture, projects can control their order with the usual :prop_test:`DEPENDS` test property if necessary. A setup test is allowed to require other fixtures, but not any fixture listed in its ``FIXTURES_SETUP`` property. For example: .. code-block:: cmake # Ok: dependent fixture is different to setup set_tests_properties(setupFoo PROPERTIES FIXTURES_SETUP Foo FIXTURES_REQUIRED Bar ) # Error: cannot require same fixture as setup set_tests_properties(setupFoo PROPERTIES FIXTURES_SETUP Foo FIXTURES_REQUIRED Foo ) If any of a fixture's setup tests fail, none of the tests listing that fixture in its :prop_test:`FIXTURES_REQUIRED` property will be run. Cleanup tests will, however, still be executed. See :prop_test:`FIXTURES_REQUIRED` for a more complete discussion of how to use test fixtures.