Home Corporate Contacts TETware Knowledgebase |
ProductsSolutionsInformationDatasheetDocumentationFAQKnowledgebase |
Return to Knowledgebase Index19. How to handle POSIX signals in a C language test caseThis information is not applicable to Win32 systems.
Question I'm using the C API to port some legacy test code to TET.
The code issues a signal 14
( I've tried setting
Answer
If you want to change the TCM's default signal handling in a particular test purpose function, you can add code to change the signal's disposition in the function itself. This is the preferred solution - it enables each test purpose function to be self-contained and not rely on the execution (or non-execution) of a previous test purpose function. Alternatively you can change the signal's disposition in the test case
startup function, then set the API's global variable
See also
|