Lines Matching refs:file
32 - Add a `<test-name>.c` file in this directory with the test code.
33 - In the added .c file, add a line that looks like `#define UT_MODULE osfmk`
71 file at the root of the repository so that IDEs that support this file (VSCode, CLion) know about t…
78 This reads the `compile_commands.json` file and generates an Xcode project named `ut_xnu_proj.xcode…
94 This reads the `compile_commands.json` file and generates a `.vscode/launch.json` file for VSCode t…
96 (if you have such existing file it will be overwritten)
111 This reads the `compile_commands.json` file and edits the files in `.idea` for CLion to know about
133 2. Run the unit-test and tell the coverage lib where to save the .profraw file:
137 3. Convert the .profraw file to .profdata file:
143 High-level per-file textual report:
158 6. To manually filter out functions from the report, for instance if the source file contains test …
160 - Add `-show-functions` to the `report` command and redirect the output to a file.
163 - Edit the file and remove the functions names that are not needed.
165 - Add the prefix `allowlist_fun:` to every line in the file:
176 … locking and scheduling APIs like lck_mtx_t and waitq functions, the test file must include `mocks…
180 …and line, every memory load and store in the XNU library and in your test file will be instrumenta…
186 …with the macro `UT_FIBERS_USE_CHECKER(1)` in the global scope of the test file or setting the `FIB…