-
adding JDBC Driver jar file in system_jars folder
I have a pva using a "Database Correlation" as a data source. I have added the jar file in the system_jars folder and rebooted/refreshed the service. Still not working. Do we have to add something else, like the "sqljdbc_auth.dll" or update the properties file? this is on linux server. version 2023.2
-
Unit Testing Loadable Kernel Module
I just wrote my first character device and wanted to write some unit test for it using parasoft c++test. I know how to use parasoft for my regular user c code but being searching the net and can't find any example for creating unit tests, stubs, etc for this kernel module that i have. Is it even possible in parasoft? can…
-
Missing resources error message when execute the test scripts from Jenkins
Hi All, I am getting an error "ERROR: Missing Resources: The following symbols/resources were specified, but were not found in the workspace. Ensure they are valid and are relative to the workspace" when try to execute the SOATest scripts from Jenkins but I am pretty sure that the resource path provided is correct. The…
-
generating BDF files.
I have an ubuntu1804 system, I am using docker for Parasoft integration with Jenkins. The Parasoft version I use is "parasoft_cpptest_standard-2020.1.0-linux.x86_64.tar.gz" and I have a flutter project and I build a project with Makefile's make commands. I have a DTP server connected and when I try to run cpptestcli…
-
Display code coverage for CppUTests
My Goal: My project consists of three C++ libraries and a set of existing CppUTest tests that unit test the classes in those libraries. My goal is to see the code coverage, in the libraries that is caused by running the CppUTest tests. The libraries and test are built by CMake. This is in a CentOS-7.2 Linux environment.…
-
Undefined reference errors occurr when linking in Insure++ symbols in Ubuntu
In Ubuntu, linking errors with Insure++ (undefined references of Insure++ symbols, see examples below) are caused by a change in the default behavior of the linker from previous versions of Ubuntu. Error example: ".../Insure++/lib/libinsure.so: undefined reference to `Insure::Thread::startFunction()'" Explanation: This…
-
Jenkins with slave Linux Virtualbox running cpptestcli
Hi, I have a Jenkins job that will perform a svn checkout to a Linux VirtualBox every day. After checking out, the job will perform a make clean and make all operation, before trying to call the cpptestcli command. The command I ran: cpptestcli \ -data "../" \ -import "ProjectName" \ -config…
-
cpptesttrace
Hi, I am running CLI command cpptesttrace and cpptestcli on a C++ project on Linux. I have a workspace that has many project dependencies. How can I set up the command line to run in one line command several projects. 1. Create bdf for all project. 2. Run cpptestcli on all bdf files for all projects in worksapce in one…
-
Ambiguous protocol URL, cannot determine tool in multi-tool mode when running soatestcli on linux se
We recently installed soatest on our linux server and we're trying to run soatestcli with a test suite created from windows. We are using a localsettings.properties file to run the configuration but we get the following error :smile: "Ambiguous protocol URL, cannot determine tool in multi-tool mode: 0, ,…
-
Do not use GCC-4.9 with Insure++
Insure++ needs to take the address of entities in order to track them. But, references cannot have their address taken, so Insure++ creates a shadow pointer variable pointing to the thing that is being referenced. It then does a normal pointer check against this shadow pointer. When using GCC-4.9, there is a known issue…
-
How to create platform independent ssh connection?
Hi, newbie SOAtest user here. We are in the process of evaluating SOAtest, and one of the requirements is that our test suites can run both on Windows and Linux. Since both also need to ssh into a Linux box to run commands, the external tool seems out of the question, because it will require PLink on Windows and ssh on…
-
cpptest does not generate bugs report!
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" ..…
-
How to generate Individual Hits report using commands in Linux
Hi, I am running my load tests in Linux and the .rpt file will get generated once the test got completed. Generating individual hits report from the .rpt file takes more time since the file size will be high (around 350 MB) and also it takes more time to copy from linux machine to windows machine. Please let me know if…
-
Permissions Insure++ Needs to Run on Linux
If multiple users are sharing an installation of Insure++ on a single machine, they will need group permissions to fully use Insure++. Permission issues may show up in the form of license errors or access errors. If any users are experiencing insufficient permissions issues, please make sure they have the following…
-
How to create an Insure++ log file
This post will provide instructions for creating an Insure++ log file when debugging issues with Insure++. When you run into an issue with Insure++, whether it is displaying an Insure++ Violation or if the instrumentation failed for some reason, it is beneficial to create an Insure++ log file from the run to determine the…