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

Using a User-Defined Execute Command

Last updated: 2019-11-13
Question:
I am trying to get the VectorCAST test harness to run on a new target that is not supported by an existing VectorCAST compiler template. Is it possible for me to customize the Execute Command option to do a complex series of actions?
Answer:

Yes. When you execute a test in VectorCAST/C++, VectorCAST will take the command string that exists in the Execute Command option and pass it the name of the executable file. It will do this with the working directory being set to the current test environment that is open. So, to provide your own "custom" processing, you can set the Execute Command to something like this:
 

cmd /c c:\test\c\target_tests\vcast_execute_command.bat
 

In the file vcast_execute_command.bat, you can do something as complicated as you need to in order to download the executable to the target.

 
Note:

The the name of the executable test harness will be available in the .bat file as argument #1, so you can use %1 for this name, as in the following example:


echo "the command passed in is: "

echo %1

%1

echo "Done!"

 
Article Options
2019-11-13
Views: 11
Rate this article: