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: REQUIRED_FILES.rst.txt
Close
REQUIRED_FILES -------------- List of files required to run the test. The filenames are relative to the test :prop_test:`WORKING_DIRECTORY` unless an absolute path is specified. If set to a list of files, the test will not be run unless all of the files exist. Examples ~~~~~~~~ Suppose that ``test.txt`` is created by test ``baseTest`` and ``none.txt`` does not exist: .. code-block:: cmake add_test(NAME baseTest ...) # Assumed to create test.txt add_test(NAME fileTest ...) # The following ensures that if baseTest is successful, test.txt will # have been created before fileTest is run set_tests_properties(fileTest PROPERTIES DEPENDS baseTest REQUIRED_FILES test.txt ) add_test(NAME notRunTest ...) # The following makes notRunTest depend on two files. Nothing creates # the none.txt file, so notRunTest will fail with status "Not Run". set_tests_properties(notRunTest PROPERTIES REQUIRED_FILES "test.txt;none.txt" ) The above example demonstrates how ``REQUIRED_FILES`` works, but it is not the most robust way to implement test ordering with failure detection. For that, test fixtures are a better alternative (see :prop_test:`FIXTURES_REQUIRED`).