Test case generation
Hello @Mirek ,
i am facing issue to generate the test case which is integrate with the SHARC Processor ADSP-sc 584 EZ board.
not able to generate the test cases even i had created the custom compiler also, i am getting this error which is attached in this Discussion.
please help me out and give me some solution as soon as possible regarding this. today is my dead-line to test case generation.
it's a great thankful .
Comments
-
Hi @raj,
There is not enough information in the console, you need to increase console verbosity (Parasoft menu-> preferences-> console : set to high) and clear cache (project properties->Parasoft->C++test->Other settings->clear) and rerun the same operation one more time. Once you have the new console output - please attach it.
0 -
Hi @raj,
Ok, I see now what is going on. Please go to custom compiler directory, open gui.properties file and locate the following two entries:
analysis.generation=false
analysis.execution=falseChange those to:
analysis.generation=true
analysis.execution=trueRestart C++test and try to generate test cases one more time.
What happens is that for some compilers not all functionalities are supported and those two settings block the functionality that is not available by default. But in most of the cases, there are no problems with it1 -
HI @Mirek ,
i followed your steps what you mention in above comments,
while generating the test case, i am getting the this type of error which is attached in this.but when i ran the static analysis then i didn't get any error .that means problems in the unit test case source code.
if you know this error then please help me.
Thanks ..0 -
@raj - can you please create support ticket so we can better track it? Thanks!
1 -
@Andrey Madan Sure.
0 -
Hi @raj,
We can try to solve this specific problem, by adding the following line to c.psrc and cpp.psrc files of your custom compiler.
edg.enter_type name=__builtin_quad type=int
And then see if tests were correctly generated.
But since this is not supported combination, I recommend going via the support team as there may some other modifications required.
1 -
.
0