Home > User Support > QTE

FAQ / QTE (Quality Town for Embedded Grade)

yQTE12zTest Execution Issues

QTE12_01 : GCC coverage mode, run-test command, make, cmake

yquestionz
GWhen I run the run-test command in CC coverage mode, I get "XXX.gcno:cannot open notes file" and no gaiocov file is created.
What is the cause of the gaiocov file not being created

yAnswerz
The cause is that the file needed to create the gaiocov file (gcno file) is missing or cannot be read from the QTE
Make sure that the gcno file is configured for output according to the build tool you are using.
As an example, the following is the confirmation procedure when make and cmake are used.

‡@ If you are using make
Make sure that the $(QTE_SRC_FLAGS) option is set in the compilation process of the source file to be tested
If it is not set, set $(QTE_SRC_FLAGS) and run again from the prepare command

‡A When using cmake
Make sure that the "-g" option is set in the compilation options of the source file to be tested.
If the "-g" option is not set, set it and run the prepare command again.

If the above measures do not resolve the error, please contact our support.

Search for related support information.

yGoogle Search in Support Information Sitez

search keywordF@

Other Keyword Search




Reference information and links