I have a few global variables that are used as read-only in one location and write-only in another location and don't need a mutex. I'm trying to update the rule parameters for BD-TRS-THRDR to ignore these specific variables and I'm not having much success. If I only use one variable name in the rule parameter in the…
Is there a tool or setting to enable that will report whether previously existing parasoft suppressions are still necessary to have? This would be checked after code changes have been applied to lines of code that were being suppressed before.
Hi, We have two environments in which the builds run, one is on an integration server, but also, the builds can be executed locally. Locally, the parasoft version is 2024.1, and on the server, it is 2023.2.0 (10.6.3.20231201B4159). The server is linux, the local is windows. In the first case, we can wrap ${MAKE} with…
Hi, I am on PoC for cpptest, and I am willing to do static tests on my project. My project is already using yocto as build tool, and I do not want to change the build script. The guide says bitbake is supportive for creating bdf, but it keeps fails on my side. Does anyone know how to do static tests on yocto project?…
Environment: I'm working on Window system & C++test 9.4(eclipse) & gcc4.7 Procedure First, I evaluate the unit test with a very simple C++ code, just a main() and a simple function, I stub the function and run the unit test, everything is OK. Then I move to my real project code, and 3 steps as follows (same with the simple…
I am executing unit test from the cpptestcli and have configured the properties file to report metrics to the DTP server. I know the configuration is correct as Static Analysis and basic line coverage metrics are reported to the DTP. However, advanced coverage types such as MC/DC do not show any results. The test…
I have a routine that checks errno after calling exp(). The code compiles fine and works for static analysis. When I do a unit test, writing errno = 0 before the call generates a CPPTEST_ACCESS_VIOLATION error. Using MinGW compiler. Any suggestions?
We’re happy to introduce you to C/C++test 2024.2, a release packed with features designed to streamline safety-critical software development, improve code quality, and increase your team's efficiency. Enhancements AI-driven code violation fixing in VS Code extension. Our Copilot integration in the VS Code extension now…
The C/C++Test Parasoft tool gives various ways of suppressing alerts. One of them is to define a regex pattern, which is matched on every analyzed code line. Unfortunately I have trouble using this functionality. I want to supress alerts produced by some macro: define FOO syslog ... I included following lines in my…
I run "Run Unit Tests (File Scope)" configuration on eclipse base ide vs2013 ,then get a error :"Test execution: error reading test log for Test unit for xx.cpp". How can I Solve this problem?
It looks like you're new here. Sign in or register to get started.