Test case generation

rajraj Posts: 7

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 .


  • MirekMirek Posts: 71 ✭✭

    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.

  • rajraj Posts: 7
    edited January 14

    Hi @Mirek ,
    Sir i followed the same ,but still i am getting the same error.

  • MirekMirek Posts: 71 ✭✭

    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:


    Change those to:


    Restart 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 it

  • appslureappslure Posts: 2

    Thank you for sharing! I hope you will continue to have great articles like this to share with everyone!
    Mobile app development company in toronto

  • rajraj Posts: 7
    edited January 16

    Thanks for the Help sir @Mirek

  • rajraj Posts: 7
    edited January 16

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

  • MirekMirek Posts: 71 ✭✭

    Hi @raj,

    So now we are facing a problem with unsupported compiler. C++test does not understand the language extension that is supported by your compiler (__builtin_quad).

    What is the exact name and version of your compiler?

  • rajraj Posts: 7
    edited January 17

    Hi @Mirek sir,
    compiler which i am using :
    SHARC Version
    compiler_name : cc21k

  • rajraj Posts: 7
    edited January 18

    Hi @Mirek
    any update regarding this.
    is it possible to resolve this issue?
    if you know the solution then please share with me .

  • Andrey MadanAndrey Madan Posts: 230 ✭✭✭

    @raj - can you please create support ticket so we can better track it? Thanks!

  • rajraj Posts: 7
  • MirekMirek Posts: 71 ✭✭

    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.

Sign In or Register to comment.