Tests definitions [ENHANCEMENT]: Add Directory property storing list of defined tests
Currently, there is no way to get a list of defined tests so it create complexity for many actions. For example, setting a property for all defined tests of the directory require to change all tests definitions.
Proposed property: TESTS
which will be attached to DIRECTORY.
Example: set a TIMEOUT
for all defined tests using this new property:
get_property (tests DIRECTORY PROPERTY TESTS)
set_property (TEST ${tests} PROPERTY TIMEOUT 3000)
Option CONFIGURATIONS
of add_test
can be handled using pattern TESTS_<CONFIG>
.
Edited by Brad King