TPF_TESTSUITE: Defines the namespace and code coverage mask for all test cases within a shared object
This C/C++ macro creates a test suite in one source file of a shared object.
Last updated
Added for PUT15.
Format
maketpf_env += idevops
#include <tpf/c_devops.h>
TPF_TESTSUITE(namespace, codeCoverageMask);
- namespace
- A quoted string that represents a period-delimited hierarchical identifier for a group of test
cases, for example,
ibm.tpfdf.dftd.Note: The namespaces that begin withibmare reserved for the z/TPF system to use. - codeCoverageMask
- Reserved for future use by IBM. Any value that is specified is ignored.
Normal return
None.
Error return
None.
Programming considerations
- Do not use this macro in production applications.
- Create a TPF_TESTSUITE entry in exactly one source file of a C shared object (CSO) that contains test cases.
Examples
The following example defines a test suite called user.company99.basic. This test suite will drive paths through the ABCD and CF10 programs, programs that start with CD0, and programs that start with CT.
TPF_TESTSUITE("user.company99.basic","ABCD,CD0*,CF10,CT*")