OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
doc
/
cmake
/
html
/
_sources
/
prop_test
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/04/2023 07:10:48 PM
rwxr-xr-x
📄
ATTACHED_FILES.rst.txt
206 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
ATTACHED_FILES_ON_FAIL.rst.txt
218 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
COST.rst.txt
621 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
DEPENDS.rst.txt
759 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
DISABLED.rst.txt
735 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
ENVIRONMENT.rst.txt
371 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
ENVIRONMENT_MODIFICATION.rst.txt
2 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
FAIL_REGULAR_EXPRESSION.rst.txt
552 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
FIXTURES_CLEANUP.rst.txt
1.86 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
FIXTURES_REQUIRED.rst.txt
4.9 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
FIXTURES_SETUP.rst.txt
1.91 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
LABELS.rst.txt
387 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
MEASUREMENT.rst.txt
286 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
PASS_REGULAR_EXPRESSION.rst.txt
626 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
PROCESSORS.rst.txt
679 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
PROCESSOR_AFFINITY.rst.txt
667 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
REQUIRED_FILES.rst.txt
1.17 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
RESOURCE_GROUPS.rst.txt
3.48 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
RESOURCE_LOCK.rst.txt
805 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
RUN_SERIAL.rst.txt
233 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
SKIP_REGULAR_EXPRESSION.rst.txt
601 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
SKIP_RETURN_CODE.rst.txt
442 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
TIMEOUT.rst.txt
318 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
TIMEOUT_AFTER_MATCH.rst.txt
1.38 KB
04/04/2023 07:03:28 PM
rw-r--r--
📄
WILL_FAIL.rst.txt
184 bytes
04/04/2023 07:03:28 PM
rw-r--r--
📄
WORKING_DIRECTORY.rst.txt
328 bytes
04/04/2023 07:03:28 PM
rw-r--r--
Editing: FIXTURES_CLEANUP.rst.txt
Close
FIXTURES_CLEANUP ---------------- .. versionadded:: 3.7 Specifies a list of fixtures for which the test is to be treated as a cleanup 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 cleanup tests are ordinary tests with all of the usual test functionality. Setting the ``FIXTURES_CLEANUP`` property for a test has two primary effects: - CTest will ensure the test executes after all other tests which list any of the fixtures 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 cleanup 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_CLEANUP``. A cleanup test can have multiple fixtures listed in its ``FIXTURES_CLEANUP`` property. It will execute only once for the whole CTest run, not once for each fixture. A fixture can also have more than one cleanup test defined. If there are multiple cleanup tests for a fixture, projects can control their order with the usual :prop_test:`DEPENDS` test property if necessary. A cleanup test is allowed to require other fixtures, but not any fixture listed in its ``FIXTURES_CLEANUP`` property. For example: .. code-block:: cmake # Ok: Dependent fixture is different to cleanup set_tests_properties(cleanupFoo PROPERTIES FIXTURES_CLEANUP Foo FIXTURES_REQUIRED Bar ) # Error: cannot require same fixture as cleanup set_tests_properties(cleanupFoo PROPERTIES FIXTURES_CLEANUP Foo FIXTURES_REQUIRED Foo ) Cleanup tests will execute even if setup or regular tests for that fixture fail or are skipped. See :prop_test:`FIXTURES_REQUIRED` for a more complete discussion of how to use test fixtures.