Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

cpptest does not generate bugs report!

Options
Bush
Bush Posts: 8

I am running cpptest with the command line using cpptesttrace and cpptestcli. I do have cmake build system. The analysis has never caught any bug and always shows that the number of files that have been checked to 0. Not sure what is the issue exactly. Here are the commands that I run

cmake -G "Unix Makefiles" ..

$cpptesttrace make clean all

$cpptestcli -data "path to directorty that include the project" -resource / -report "path to repoer directory" -config $config -localsettings $settings

$cpptesttrace , $cpptestcli, $config, and $settings includes paths to exe or files.

Is there anything that I should change to get results?

Thanks

Comments

  • Jromero
    Jromero Posts: 28
    Options

    Hello @Bush could you please take a screenshot of your build settings under Parasoft preference settings?

  • Bush
    Bush Posts: 8
    Options

    Here is a screenshot of the settings file, BTW I am running Parasoft from the
    command line.

  • Bush
    Bush Posts: 8
    Options

    Any thought?

  • Kevin Ali
    Kevin Ali Posts: 22 admin
    Options

    Hi Bush,

    What version of C++ test are you using?
    When you ran cpptest trace was a bdf generated?

    Are you able to successfully run the example project?

    Thank you
    Kevin Ali

  • Bush
    Bush Posts: 8
    Options

    Hello Kevin,
    I am using C++test 9.6.1, and yes it generates a bdf file, Also, I tried to run the examples but I get similar results no bugs are generated! I attached the output of running ATM example.

  • Kevin Ali
    Kevin Ali Posts: 22 admin
    Options

    Hi Bush,

    Would it be possible for you to create a ticket for this issue at

    https://parasoft.force.com/customerportal/CustomSiteLogin?startURL=/customerportal/CommunitiesMainPage
    So we can expedite communication regarding this issue.

    In the case can you please attach the BDF. that was generated for ATM.

    Thank you
    Kevin Ali

  • Bush
    Bush Posts: 8
    Options

    Thank you Kevin