Hello, My group is in the process of moving from v9.5 to v10.3. After converting one of our projects to v10.3, we are encountering numerous preprocessing errors during Code Analysis that we did not encounter while running v9.5. We have successfully converted many other projects to v10.3 that do not encounter this error.…
Hello, I am using the C/C++Test commandline tool, and I have configured the cpptestcli.properties file to connect to a DTP server. Unfortunately, a connection is not possible, as the server is only reachable through a proxy. I searched for proxy settings, but found only proxy configurations for the used JRE…
Hi everyone, we use suppressions in a source code to avoid findings of some rule violations. It is done according to the user manual by usage of suppression begin/end comments: // parasoft-begin-suppress ||ALL "suppression comment" ... code block ... // parasoft-end-suppress ||ALL "suppression comment" We use the field…
Hi, I am running Parasoft for MISRA. Following a simplified code example: define RC(func) \ do { \ rc_t rc_ = func; \ if is_error(rc_) return rc_; } while (0) struct info_t { rc_t (*handler)(); }; rc_t caller() { struct info_t info = {0}; RC(called_function(&info)); // From this point, info is well initialized by the…
Hi Team, Today we Upgraded DTP and License file from 2023.1 to 2024.1 - But while running the CPP user is getting ERROR: Invalid license, Can anyone please help.
I am getting Linking error, can anyone help me to fix. /gccm-inventory 1. Test execution: error linking test executable for Test unit for selected sources. /usr/bin/ld: /home/t0232gf/parasoft/workspace3/.cpptest/gccm-inventory/file-data/gccm_im_manager.cppbeae46cf/tested/harness_gccm_im_manager.o: in function…
I have the following code coverage report snippet and want to understand what do "Stat" and "Off" values represent and how to interpret them? <CvgData cvgType="SC"> <Stat val="0;3;0;3;0;3;0"/> <Off val="0;76;115;120;146;153;198"/> </CvgData>undefined</File>undefined<File…
I have a container image running the parasoft cpptestcli, the version is "Parasoft C/C++test Professional 2021.1.1 (10.5.1.20211218B1401)" that connects to standalone license server with floating license type. Everytime i run the command, the error shows: Using default workspace "/home/parasoft/parasoft/workspace" ERROR:…
Setup I've copied the cpptest-coverage.cmake to my project and included it into my CMake project. Inside the cpptest-coverage.cmake I modified the following line: set(CPPTEST_COVERAGE_WORKSPACE ${CPPTEST_BINARY_DIR}/cpptest-coverage/${CMAKE_PROJECT_NAME}) to have all temporary files in my build folder. I see in the make…
In one of the functions, one portion of code looks somewhat like below, somefun(){ int a=1; if(a!=1){ cout<<"this is executed"<<endl; } } how can i have the cout executed from the test suite.
It looks like you're new here. Sign in or register to get started.