You can use the Find in Files dialog box in the Platform Builder IDE to find instances of a test case name in the source code for a CETK test. By finding the occurrence of the test case name that appears in the definition of a FUNCTION_TABLE_ENTRY structure, you can determine the name of the function associated with the test case.
To find a test case in the source code for a CETK test
- In the Platform Builder IDE, from the Edit menu, choose Find in Files.
- In the Find what box, type the name of the test case exactly as the name appears in the log when you run the CETK test with the
-l command-line parameter.
For information about viewing the name of the test case, see Displaying a List of Test Cases for a CETK Test.
- From the In files/file types box, choose *.*.
- In the In folder box, type the path to the directory that contains a sources file that specifies as TARGETNAME the name of the Tux DLL for the CETK test.
- Select the Match whole word only check box.
- Choose Find.
On the Find in Files 1 tab, you can double-click a search result to open the file that contains the search result in the Platform Builder IDE and display the result in the context of the file.
- For each search result, open the file that contains the search result until you find an occurrence of the test case name within the definition of a FUNCTION_TABLE_ENTRY structure.
See Also
How to Analyze CETK Test Results to Debug a Driver | Find in Files Dialog Box
Send Feedback on this topic to the authors
Feedback FAQs