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'.

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.
Advanced search
2019-10-02 Testing Global Variables
Question: When are global variables tested? Answer: There are differences between expected results on function parameters/returns and globals, when applied to a list of expected results: For a function stub. It is when the stub function is called. For a global the test harness does not...
2019-10-02 rating Views: 367
2019-10-02 Actual Value in User Code
Question: When I have an expected result in user code, the report only shows matched or fail. When it fails I need to know the actual value of the result. Answer: There is an undocumented test harness function which allows this to happen. As an example we have in file uut.c the function...
2019-10-02 rating Views: 365
2019-10-02 Error: Call to malloc failed. Memory exhausted.
Question: Why does my test fail with an error indicating memory exhausted? Answer: When a pointer is used that points to a structure outside of the area that VectorCAST has allocated, this causes a behavior that is compiler dependent and thus unpredictable because the heap allocation...
2019-10-02 rating Views: 281
2019-10-02 Test Harness Works with MinGW But Not with IAR
Question: Why does a test harness work with MinGW and crash with IAR? Answer: VectorCAST does not ensure the test cases are run time safe with C/C++. The C/C++ data types do not give enough information to allow it to do that. Two examples are pointers to unconstrained arrays and casting...
2019-10-02 rating Views: 153
2019-10-02 Value Definition in Parameter Tree Not Possible
Question: Why am I not allowed to set a my desired negative value in the parameter tree? Answer: VectorCAST needs definitions for INT_MIN and INT_MAX to work out the range of an integer on the target system. These defines are in limits.h. If a customer project has also a limits.h it may...
2019-10-02 rating Views: 62
2019-10-02 SCR Files Triggered Script Checker of Antivirus Program
When installing VectorCAST it can be important to have the virus checker disabled. The presence of .scr files in our install can trip the script blocker of the virus checker. This may result in access denied messages.
2019-10-02 rating Views: 55
2019-12-05 VectorCAST Error while Parsing Restrict Keyword
Question: Why do I get a parse error in the form of error: expected a ")" void *memcpy(void *restrict DST, const void *restrict SRC, size_t LEN) attribute(format(memcpy,1,2,3))); while compiling? Answer: It’s likely that the failure appears because VectorCAST has not been told...
2019-12-05 rating Views: 47
2019-12-10 Elaboration Errors in Harness
Issue: My harness keeps crashing with program errors. How can I fix that? Solution: Typically, this error is caused by elaboration processing referencing another unit that has not been elaborated yet. In GNAT, there is a binder option that allows you to force elaboration processing to take...
2019-12-10 rating Views: 33
2019-12-10 TRACE32 Returns a Syntax Error When Loading the Environment or Reports Cannot Find a File
Issue: TRACE32 returns a syntax error when loading the environment or reports it cannot find a file. Solution: This problem is one and the same. Basically, our execution script depends on the %VECTORCAST_DIR% environment variable to execute properly. This environment variable points to the...
2019-12-10 rating Views: 27
2019-12-10 Integration with TRACE32 Simulator Fails on VLE Instructions
Issue: Integration with TRACE32 simulator fails on VLE instructions. Solution: Some chips, such as the MPC5566, support VLE instructions, while some others (MPC5554) do not. TRACE32 can support both, but the script file (.cmm file) needs to be amended. If you plan on using MPC5566 or...
2019-12-10 rating Views: 26