Error occurred, while importing IAR EW 7.405 Projects into Parasoft C++test.
C++test parse error:
Coding standard checker: errors occurred while parsing the file.
#include "spi.h"
^
"C:\Users\yang\Desktop\DI_HWA_IAR7405\SpiPrintf\spiDebug.h",4 Error[Pe1696]:
cannot open source file "spi.h"
searched: "C:\Users\yang\Desktop\DI_HWA_IAR7405\SpiPrintf\"
searched: "D:\Program
Files\Parasoft\C++test\9.2\engine\runtime\include\"
searched: "D:\Program Files (x86)\IAR Systems\arm\inc\"
searched: "D:\Program Files (x86)\IAR Systems\arm\inc\c\"
Error preprocessing file "C:\Users\yang\Desktop\DI_HWA_IAR7405\SpiPrintf\spiDebug.c":
Process exited with code: 2
Error during parsing file: C:\Users\yang\Desktop\DI_HWA_IAR7405\SpiPrintf\spiDebug.c
Comments
-
Hi @yangyang,
From what I see, you are using IAR EWARM 7.x, but your C++test version 9.2 is pretty old (the last C++test 9.2.x release was back in 2011). C++test 9.2 supported IAR up to version 6.1, so it is not going to work with version 7.4.
I would recommend contacting your Parasoft representative regarding upgrade of C++test to version 10.3.4 (the latest), or at least to version 9.6.x.
Note also, that for IAR EWARM 7.x integration works a bit differently, and instead of importing EWARM projects into C++test you will need to use C++test's cpptesttrace utility. For more information see here:0