To improve build-time performance, PureCoverage caches its versions of all the libraries and object files used to build the program.
Option |
Default |
-cache-dir |
<purecovhome>/cache |
Sets
the global cache directory for caching instrumented versions of files. |
-always-use-cache-dir |
no |
Forces
PureCoverage to write all instrumented versions of files to the global
cache directory. |
-forbidden-directories |
system-dependent |
You can use this option to specify a list of directories, each separated by a colon, into which files are never written, even if the directories listed are writable. All the subdirectories of forbidden directories are also forbidden. The default values are system-dependent: /lib:/opt:/usr/lib:/usr/5lib:/usr/ucb/lib:/usr/lang:/usr/local
/lib:/usr/lib:/usr/local:/opt:/usr/ccs
|
-force-rebuild |
no |
Forces your entire program to be reinstrumented, regardless of whether individual object files and libraries have been updated since they were last instrumented. This option is useful when you change the files and libraries that you exclude from coverage. For more information, read Excluding libraries, directories, and files.
|
-save-tmp-files |
no |
Instructs PureCoverage to save instrumented files in the /tmp directory during instrumentation. This makes the files more easily accessible for activities like reporting defects.
|
-use-subdir |
no |
Instructs PureCoverage to create a .pure_files directory within the current directory and to save instrumented files there.
|
Note:
If you need to manage disk space, you can safely remove the cached files by using the script pure_remove_old_files. PureCoverage rebuilds any shared libraries required at program run-time.