BdeTestDriverUtils¶
This module provide a set of function to generate BDE tests
- bbs_add_bde_style_test¶
Add the [executable] target
as a BDE test and create ctest labels for it.
bbs_add_bde_style_test(target
[ WORKING_DIRECTORY dir ]
[ TEST_VERBOSITY verbosity ]
[ EXTRA_ARGS args ... ]
[ LABELS prop value ... ]
)
- bbs_add_component_tests¶
Generate build targets [executables] for the specified SOURCES
, add them as
BDE tests and generate necessary build dependencies and test labels.
bbs_add_component_tests(target SOURCES source1.t.cpp [source2.t.cpp ...]
[ WORKING_DIRECTORY dir ]
[ TEST_VERBOSITY verbosity ]
[ EXTRA_ARGS test_arg ... ]
[ PROPERTIES prop value ... ]
[ TEST_DEPS lib1 lib2 ... ]
[ TEST_TARGET_PROPERTIES prop value ... ]
)