CPPTESTCLI - Is there support for IAR project under Windows ?
Best Answers
-
It is not a "standard error" message from the tool. I guess there may be some issue in your local configuration files. Please contact our support team - short streaming session will be the most effective way to solve this problem.
Thanks
5
Answers
-
Hi,
Is there support for cpptestcli command line for IAR?
Can you please add more details? What do you mean by support for IAR projects?
If you mean analyzing the project using "-input ?
Also, which version of C++test are you using?0 -
Hi @elch,
There are a few options here, you need to start with generating the bdf file from you IAR workspace, you can do it, for example, using the following command line:
cpptesttrace --cpptesttraceProjectName= --cpptesttraceResponseFileOption=-f --cpptesttraceOutputFile=\.bdf iarbuild .ewp -build
Once you have your bdf file ready you can use it with cpptestcli to run the analysis:
If you are using C/C++test standard (aka dtp engine):
cpptestcli -compiler -config -inputIf you are using professional (aka Desktop)
cpptestcli -data "</path/to/workspace>" -config -localsettings "" -bdf "</path/to/name.bdf>"
1 -
Thanks on the quick follow.
So I need to wrap my build command in IAR with cpptesttrace in order to create bdf file ?Thanks
0 -
Yes, this is the recommended approach. If you are using Professional, and IAR for ARM you can try using importer, please see "Importing Projects with IAR Embedded Workbench Support" in the user manual. But bdf is a recommended approach
0 -
Hi @Mirek
Windows -c++ 10.4.
OK I manged to create bdf file , Now when I try to run cpptestcli I am getting an error about cpptest.compiler.dir.builtin - wrong value missing directory.
I tried to ad it on the properties files, I gave it the path to \engine\etc\deprecated\compilersAny suggestions ?
Thanks
0 -
Could you please post a command you are trying to execute and the exact error message?
0 -
iccarm_5_5 is a very old compiler it was deprecated and removed in 10.4.0.
Is there any option you can upgrade your project to use a newer version of IAR compiler?
You can try using iccarm_6_1 instead, there are good chances it will also work.
0