vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Configuring VectorCAST to Work When Running Multiple Processes

Last updated: 2019-10-30
Question:
How can I configure VectorCAST/Cover to work when I am running multiple processes at the same time?
Answer:

VectorCAST supports gathering coverage data for multiple (single-threaded) processes that are spawned by your main executable. This allows the user to have more than one instrumented executable running at the same time and to get different TESTINSS.DAT filenames. 
 

In order to configure this, depending on the operating system that you are running on and the compiler that you are using, there are the following three different defines that can be set to support this feature:

  • VCAST_APPEND_WIN32_PID
  • VCAST_APPEND_POSIX_PID
  • VCAST_APPEND_SECONDS_SINCE_EPOCH

If you are running on Windows, then compile the c_cover_io.c or .cpp file with the VCAST_APPEND_WIN32_PID define. Execute your application as usual. VectorCAST creates one TESTINSS-<PID>.DAT file for each process, identified by the process ID <PID>.
 

If you are running on a Unix platform, then you will need to compile the c_cover_io.c or .cpp file with the VCAST_APPEND_POSIX_PID define.  VectorCAST will create a TESTINSS-<PID>.DAT file for each process, identified by the process ID <PID>.
 

If your compiler does not support the above two API calls, you will need to define VCAST_APPEND_SECONDS_SINCE_EPOCH when compiling the c_cover_io.c or .cpp file. As with the other two variable defines, VectorCAST will in this case also create one TESTINSS-<PID>.DAT file for each process, identified by the process ID <PID>.

 
Article Options
2019-10-30
Views: 11